[Nix-dev] On npm2nix and the NPM package set in Nixpkgs
Bjørn Forsman
bjorn.forsman at gmail.com
Fri Jul 8 11:06:23 CEST 2016
On 7 July 2016 at 23:11, Sander van der Burg <svanderburg at gmail.com> wrote:
> 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.
Could be related to
https://github.com/NixOS/nixpkgs/commit/64a072e3576daae794712d898efe0fa0f44075a0.
I think that's the commit that changed the fetchgit hash on master
(and it was not backported to stable). So these days you have to be
careful when backporting a Nix package using fetchgit from master to
stable.
- Bjørn
More information about the nix-dev
mailing list