The stdenv of newer Nixpkgs versions fails to set the NIX_CFLAGS/NIX_LDFLAGS for the package libav, which has worked in older versions.
What am I doing wong?
The following script illustrates the problem.
It runs several builds with buildInputs = […
I'm building a Haskell project using Stack and Nix and depending on the cairo library from Hackage.
When I build the project, I get an error: unable to find pkg-config >= 0.9.0 or cairo >= 1.2.0. However, the latest versions according to their…
Currently I am having some trouble using an Idris package that was installed with nixpkg in another Idris package that depends on it. Both of these packages have been tested on a Debian system, so the problem is not with the Idris code itself, but…
I know how to install some nix packages with nix-env but there are some of them I have no clue how to install,
for example:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pygit2/default.nix
How to install that…
When querying for hackage packages, the manual suggests using the command:
$ nix-env -f "" -qaP -A haskellPackages
Thus we define the 'active Nix expression' to be "" when searching for Haskell packages.
What does this expression…
Background
When I've added the first Overlay for Nixpkgs, I found out that a bunch of system utils got built for a different version:
these derivations will be built:
/nix/store/028dqnwq36xja16gba3gckq5mcprpn06-postfix-main.cf.drv
…
I'm building a QML application on Ubuntu 18.04 and want to setup my development environment using nix (and nixpkgs). However the QML import paths are messed up. If I run the application, I get:
qrc:/main.qml:14 Type ToolButton…
I've just started playing with NixOS, and have so far managed to edit /etc/nixos/configuration.nix in my NixOS 18.09 VM to have PHP-FPM and the Caddy webserver enabled.
{ config, pkgs, ... }:
{
imports = […
I'm trying to set up a development environment with Python, including the Python libraries Spacy and Pandas. The command I'm trying to run is nix-shell -p 'python36.withPackages(ps: with ps; [ spacy pandas ])'
But this is what happens:
these…
question
when using nix-prefetch-git with a --rev, do we actually really need a sha256 also?
assumption
i understand this requirement when using git with tags since tags can be reattached to a different rev.
so my current theory is that we distrust…
I installed the OpenJDK via Nix in Ubuntu (Linux uplink 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux).
gorre@uplink:~$ java -version
openjdk version "1.8.0_172"
OpenJDK Runtime Environment…
I'm trying to package a python application for Nix, but I'm finding that the majority of the documentation assumes that I want to package a library.
In order to do this, I looked at Rednotebook example (not for any particular reason other than I…
what i want
https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs documents overrideAttrs and it can be used with top-level/all-packages.nix.
so i want to be able to use overrideAttrs in my own nixpkgs overlay!
the code
rec {
frontend =…
i'm on nixos 20.09 and try to build godot-3.2.3-stable with support for C#.
I'm following the instruction on the godot docs, which states that one first has to enable the mono module and then generate the mono-glue. I tried to adapt the default.nix…
When trying to revive old projects, sometimes I have to fish around for older Nixpkgs commits to get things started.
For example, most of my shell.nix files start like this,
{pkgs ? import {} }:
pkgs.mkShell {
# ...
}
that would import…