diff options
author | Infinidoge <infinidoge@inx.moe> | 2024-06-13 14:11:50 -0400 |
---|---|---|
committer | Infinidoge <infinidoge@inx.moe> | 2024-06-14 11:18:10 -0400 |
commit | efff2acc5b10cd97cd616c617487e9652ef19a03 (patch) | |
tree | b712da12e55d865df353aeb02f4f790c6ffa3bfc /pkgs/build-support | |
parent | 49ee1236deb8b7766e0968ff90efc5f08cf15e23 (diff) |
fetchYarnDeps: properly accept src argument
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/node/fetch-yarn-deps/default.nix | 2 |
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; |