diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-11-19 06:31:18 +0100 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-11-25 15:47:05 -0500 |
commit | fde0382efdce3ca16f34164da7d930100e58cd93 (patch) | |
tree | 5c87a474fb2ad88cf1eda64867f47910d150e2cf /pkgs | |
parent | 84477691f7a53510fe6fce49746185bdcf5a30a7 (diff) |
buildNpmPackage: forward pre/postPatch to fetchNpmDeps
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/node/build-npm-package/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/build-support/node/build-npm-package/default.nix b/pkgs/build-support/node/build-npm-package/default.nix index 5ab86996e56b2..26cc678c571e7 100644 --- a/pkgs/build-support/node/build-npm-package/default.nix +++ b/pkgs/build-support/node/build-npm-package/default.nix @@ -4,7 +4,9 @@ , src ? null , srcs ? null , sourceRoot ? null +, prePatch ? "" , patches ? [ ] +, postPatch ? "" , nativeBuildInputs ? [ ] , buildInputs ? [ ] # The output hash of the dependencies for this project. @@ -30,7 +32,7 @@ let npmDeps = fetchNpmDeps { - inherit src srcs sourceRoot patches; + inherit src srcs sourceRoot prePatch patches postPatch; name = "${name}-npm-deps"; hash = npmDepsHash; }; |