>          src = "/root/sleuthkit-4.1.2";
Is nix fine with directories? Long time ago this caused problems if I
remember correctly. By problem I mean nix didn't recognize that the
contents change.

In your case try the following:

all-packages.nix:

 foo = calPackage .. ; // regular line
 myfoo=  overrideDerivation foo (attrs: { .. });

Then try nix-build -A myfoo /etc/nixos/nixpkgs (or wherever you have
checked out nixpkgs.

This way its easier/faster to test. And you eliminate potential problems
such as two versions of the same package getting installed to system
PATH - in which case only one can win.

I didn't try your code - but it looked close to be fine.

Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to