Merge pull request #84300 from bqv/fakesri
lib: add shortcut for fake SRI hash
This commit is contained in:
commit
251de06af6
2 changed files with 2 additions and 1 deletions
|
@ -141,7 +141,7 @@ let
|
||||||
mergeAttrsWithFunc mergeAttrsConcatenateValues
|
mergeAttrsWithFunc mergeAttrsConcatenateValues
|
||||||
mergeAttrsNoOverride mergeAttrByFunc mergeAttrsByFuncDefaults
|
mergeAttrsNoOverride mergeAttrByFunc mergeAttrsByFuncDefaults
|
||||||
mergeAttrsByFuncDefaultsClean mergeAttrBy
|
mergeAttrsByFuncDefaultsClean mergeAttrBy
|
||||||
fakeSha256 fakeSha512
|
fakeSri fakeSha256 fakeSha512
|
||||||
nixType imap;
|
nixType imap;
|
||||||
inherit (versions)
|
inherit (versions)
|
||||||
splitVersion;
|
splitVersion;
|
||||||
|
|
|
@ -272,6 +272,7 @@ rec {
|
||||||
imap = imap1;
|
imap = imap1;
|
||||||
|
|
||||||
# Fake hashes. Can be used as hash placeholders, when computing hash ahead isn't trivial
|
# Fake hashes. Can be used as hash placeholders, when computing hash ahead isn't trivial
|
||||||
|
fakeSri = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||||
fakeSha256 = "0000000000000000000000000000000000000000000000000000000000000000";
|
fakeSha256 = "0000000000000000000000000000000000000000000000000000000000000000";
|
||||||
fakeSha512 = "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
|
fakeSha512 = "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue