fetchpijul: minor simplification

This commit is contained in:
nicoo 2024-09-15 22:28:44 +00:00
parent 4b8644b7a6
commit f723aa0f66

View File

@ -45,12 +45,12 @@ else
runHook postFixup runHook postFixup
''; '';
outputHashAlgo = if hash != "" then null else "sha256"; outputHashAlgo = null;
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHash = if hash != "" then outputHash = if hash != "" then
hash hash
else else
lib.fakeSha256; lib.fakeHash;
inherit url change state channel; inherit url change state channel;