stdenv: pURL review suggestions - part 4

This commit is contained in:
Hans Joachim Kliemeck
2025-10-10 15:13:18 +02:00
committed by GitHub
parent 25f90d7d20
commit 83b6d2e657
+1 -6
View File
@@ -167,12 +167,7 @@ lib.makeOverridable (
// passthruAttrs
// {
inherit name;
# fetchurl / fetchzip is not a function, but fetchurlBoot is - ensure that the parameter is accepted and passed through
${
if (!builtins.isFunction fetcher || (builtins.functionArgs fetcher) ? meta) then "meta" else null
} =
newMeta;
meta = newMeta;
};
in