nodePackages: regenerate with node2nix-1.1.0. The new node2nix supports postInstall hooks that have been used to fix npm2nix
This commit is contained in:
parent
8ea8659f29
commit
2b144fcfb0
|
@ -1,4 +1,4 @@
|
||||||
# This file has been generated by node2nix 1.0.1. Do not edit!
|
# This file has been generated by node2nix 1.1.0. Do not edit!
|
||||||
|
|
||||||
{pkgs ? import <nixpkgs> {
|
{pkgs ? import <nixpkgs> {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# This file has been generated by node2nix 1.0.1. Do not edit!
|
# This file has been generated by node2nix 1.1.0. Do not edit!
|
||||||
|
|
||||||
{pkgs ? import <nixpkgs> {
|
{pkgs ? import <nixpkgs> {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
|
@ -35,5 +35,7 @@ nodePackages // {
|
||||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs2 ];
|
buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs2 ];
|
||||||
});
|
});
|
||||||
|
|
||||||
npm2nix = nodePackages."npm2nix-git://github.com/NixOS/npm2nix.git#5.12.0";
|
npm2nix = nodePackages."npm2nix-git://github.com/NixOS/npm2nix.git#5.12.0".override {
|
||||||
|
postInstall = "npm run-script prepublish";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -227,6 +227,9 @@ let
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Run post install hook, if provided
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue