Add npm2nix to v6.x nodePackages
This commit is contained in:
parent
7f805a60d8
commit
1b78ae4b6a
|
@ -33,6 +33,10 @@ nodePackages // {
|
||||||
dontNpmInstall = true; # We face an error with underscore not found, but the package will work fine if we ignore this.
|
dontNpmInstall = true; # We face an error with underscore not found, but the package will work fine if we ignore this.
|
||||||
});
|
});
|
||||||
|
|
||||||
|
npm2nix = nodePackages."npm2nix-git://github.com/NixOS/npm2nix.git#5.12.0".override {
|
||||||
|
postInstall = "npm run-script prepublish";
|
||||||
|
};
|
||||||
|
|
||||||
bower2nix = nodePackages.bower2nix.override (oldAttrs: {
|
bower2nix = nodePackages.bower2nix.override (oldAttrs: {
|
||||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
|
buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in New Issue