This patch is needed to fix sha256 hashes for the old npm2nix -- maybe it would help: https://github.com/NixOS/npm2nix/pull/42
BTW, I have updated node-packages-generated.nix with this patch successfully some time ago: https://github.com/NixOS/nixpkgs/pull/16137 On 07/08/2016 12:11 AM, Sander van der Burg wrote: > Well, for me personally it does not matter that much. > > So far, I have only seen one +1 vote for making my version the new > npm2nix. However, not so long ago, I noticed that there was another > incoming pull request for the vanilla npm2nix. Perhaps the person who > filed it, did not know about the existence of the reengineering2 branch > or this discussion thread. :) > > Anyway, the reason why I still haven't integrated anything yet, is this > issue: https://github.com/svanderburg/npm2nix/issues/7 > > When using the master Nixpkgs branch, it seems that npm2nix no longer > computes the sha256 hashes for the git checkouts correctly. Apparently, > some change in the fetchgit {} infrastructure (or a dependency thereof) > causes this, but I don't know why. When using the latest stable branch > of Nixpkgs (release-16.03) everything seems to work just fine. > > I guess this issue needs to be resolved first. IMO it's a bit useless to > have NPM packages set in Nixpkgs with broken Git dependencies, even > though the master Nixpkgs should not be considered stable. > > Besides npm2nix, other generators are affected as well -- bower2nix also > seems to break in one of my use cases. I haven't checked any other > lang2nix generators though :( -- Nikolay. _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev