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:
Sander van der Burg 2016-09-13 20:56:05 +00:00
parent 8ea8659f29
commit 2b144fcfb0
6 changed files with 2451 additions and 2036 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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";
};
} }

View File

@ -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