On 03/03/2015 15:09, Jesse Haber-Kucharsky wrote: > Hi everyone. > > I've successfully installed NixOS and subscribed to the unstable > channel and everything there seems to be working well. > > I started having problems when I wanted to start contributing packages > and upgrades to nixpkgs. > > I cloned the master branch of github.com/nixos/nixpkgs > <http://github.com/nixos/nixpkgs> and set my NIX_PATH to point > exclusively to the local checkout with "export > NIX_PATH=/home/jhaberku/src" (nixpkgs exist in the "nixpkgs" directory > in that location). > > Now, aside from nix complaining about unfree packages and packages > marked as bad (which I set in my ~/.nixpkgs/config.nix file as > directed), I get this error all the time: > > $ NIX_PATH=/home/jhaberku/src nix-env -qa firefox > error: attribute 'interpreterName' missing, at > "/home/jhaberku/src/nixpkgs/pkgs/development/web/nodejs/build-node-package.nix":7:16 > So first of all, nix-env won't be looking into your NIX_PATH but ~/.nix-defexpr: see http://lethalman.blogspot.it/2014/09/nix-pill-15-nix-search-paths.html
Use nix-env -f /home/jhaberku/src/nixpkgs -qa firefox About the error not sure, nobody complained about that. But in case it's not your problem rather a bug in nixpkgs. And yes, you can mix whatever software you want. But there's no guarantee a single nixpkgs commit is consistent among all combinations of software, even less between two commits. I think I have an old chrome with nix-env while my system is up-to-date with latest unstable. As long as things work for you, it's ok :)
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
