[Nix-dev] per project env conf

Catonano catonano at gmail.com
Sun Mar 1 15:12:19 CET 2015


2015-01-15 15:16 GMT+01:00 Luca Bruno <lethalman88 at gmail.com>:

> let pkgs = import <nixpkgs> {};
> in pkgs.myEnvFun {
>         name = "openArpa-env";
>         buildInputs = with pkgs.python27Packages; [
>           python
>           xlrd
>
>         ];
>     };
>
> Then nix-shell.
>

This worked. Now I'm back to this little project, as I have to process a
new batch of files and the thing doesn't work anymore

$ nix-shell
error: attribute ‘myEnvFun’ missing, at
"/home/catonano/Taranto/openpuglia/openArpa/default.nix":2:4

I migh have installed nix-packages from scratch since then, I'm not sure

Now it's

$ nix-env --version
nix-env (Nix) 1.8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150301/04eb1218/attachment.html 


More information about the nix-dev mailing list