fetchYarnDeps: properly accept src argument

This commit is contained in:
Infinidoge
2024-06-14 11:18:10 -04:00
parent 49ee1236de
commit efff2acc5b
@@ -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;