mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
Merge pull request #20102 from holidaycheck/v6-add-npm2nix
Add npm2nix to v6.x nodePackages
This commit is contained in:
commit
aa39f65174
@ -29,10 +29,14 @@ nodePackages // {
|
||||
sha1 = "26220f7e43ee3c0d714860db61c4d0ecc9bb3d89";
|
||||
}} $TMPDIR/webdrvr/chromedriver_linux64.zip
|
||||
'';
|
||||
|
||||
|
||||
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: {
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user