[Nix-dev] Nix-env error

James Cook james.cook at utoronto.ca
Sat Jul 25 08:16:46 CEST 2015


> On Fri, Jul 17, 2015 at 3:08 PM, Luca Bruno <lethalman88 at gmail.com> wrote:
>>
>> You have an old nixpkgs.
>
>
> Hmm. As far as I can tell, I've got the latest nixpkgs-unstable. Commit
> 554cbe9 was created just a few days ago.
>
> [dev at sandbox:~]$ echo $NIX_PATH
> nixpkgs=/home/dev/.nix-defexpr/channels/nixpkgs:alia=/home/dev/work/alia/nix:ephemeral=/home/dev/work
>
> [dev at sandbox:~]$ nix-channel --list
> nixpkgs http://nixos.org/channels/nixpkgs-unstable
>
> [dev at sandbox:~]$ nix-channel --update
> downloading Nix expressions from
>http://nixos.org/releases/nixpkgs/nixpkgs-15.07pre66093.554cbe9/nixexprs.tar.xz’...
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>                                  Dload  Upload   Total   Spent    Left
> Speed
> 100 4996k  100 4996k    0     0   418k      0  0:00:11  0:00:11 --:--:--
> 514k
> unpacking channels...
>
> [dev at sandbox:~]$ nix-env -qa
> error: attribute ‘interpreterName’ missing, at
> "/home/dev/.nix-defexpr/channels/nixpkgs/pkgs/development/web/nodejs/build-node-package.nix":7:16
>
> [dev at sandbox:~]$ realpath
> /home/dev/.nix-defexpr/channels/nixpkgs/pkgs/development/web/nodejs/build-node-package.nix
> /nix/store/4dzcgj50vw7s47wyf8fqsikxldc8b3z2-nixpkgs-15.07pre66093.554cbe9/nixpkgs/pkgs/development/web/nodejs/build-node-package.nix
>
>
> Colin

I can't reproduce this at commit 554cbe9. The only thing that comes to
mind is per-user configuration such as ~/.nixpkgs/config.nix, if
you're sharing that between your computers. If that's a possibility, I
guess you could try creating a new user and see if that user has the
same problem. Good luck :-)

James


More information about the nix-dev mailing list