mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
fetchpijul: minor simplification
This commit is contained in:
parent
4b8644b7a6
commit
f723aa0f66
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user