fetchurl: avoid resolvedUrl thunk

This commit is contained in:
Eman Resu
2026-06-01 23:18:11 -04:00
parent 14848d5db5
commit 4645f84f9d
+2 -3
View File
@@ -278,8 +278,6 @@ lib.extendMkDerivation {
finalHashHasColon = match ".*:.*" finalAttrs.hash != null;
finalHashColonMatch = match "([^:]+)[:](.*)" finalAttrs.hash;
resolvedUrl = head (resolveUrl url);
in
derivationArgs
@@ -382,7 +380,8 @@ lib.extendMkDerivation {
inherit meta;
passthru = {
inherit url resolvedUrl;
inherit url;
resolvedUrl = head (resolveUrl url);
}
// passthru;
};