about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorInfinidoge <infinidoge@inx.moe>2024-06-13 14:11:50 -0400
committerInfinidoge <infinidoge@inx.moe>2024-06-14 11:18:10 -0400
commitefff2acc5b10cd97cd616c617487e9652ef19a03 (patch)
treeb712da12e55d865df353aeb02f4f790c6ffa3bfc /pkgs/build-support
parent49ee1236deb8b7766e0968ff90efc5f08cf15e23 (diff)
fetchYarnDeps: properly accept src argument
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/node/fetch-yarn-deps/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/node/fetch-yarn-deps/default.nix b/pkgs/build-support/node/fetch-yarn-deps/default.nix
index 7f0e0692f81f6..e2724ab3a98b8 100644
--- a/pkgs/build-support/node/fetch-yarn-deps/default.nix
+++ b/pkgs/build-support/node/fetch-yarn-deps/default.nix
@@ -97,7 +97,7 @@ in {
       '';
 
       outputHashMode = "recursive";
-    } // hash_ // (removeAttrs args ["src" "name" "hash" "sha256"]));
+    } // hash_ // (removeAttrs args (["name" "hash" "sha256"] ++ (lib.optional (src == null) "src"))));
 
   in lib.setFunctionArgs f (lib.functionArgs f) // {
     inherit tests;