2015-01-15 15:16 GMT+01:00 Luca Bruno <lethalma...@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
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to