{inputs, lock}: change lock format and provide hash
This commit is contained in:
parent
ba94153c3b
commit
672807280e
3 changed files with 11 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
selfLib: superLib: {
|
||||
trivial = superLib.trivial // {
|
||||
versionSuffix = ".git.${builtins.substring 0 12 inputs.lock.nixpkgs}";
|
||||
revisionWithDefault = default: inputs.lock.nixpkgs or default;
|
||||
versionSuffix = ".git.${builtins.substring 0 12 inputs.lock.nixpkgs.revision}";
|
||||
revisionWithDefault = default: inputs.lock.nixpkgs.revision or default;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue