fetchYarnDeps: properly accept src argument

This commit is contained in:
Infinidoge 2024-06-13 14:11:50 -04:00
parent 49ee1236de
commit efff2acc5b
No known key found for this signature in database

View File

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