{inputs, lock}: change lock format and provide hash

This commit is contained in:
Wroclaw 2024-06-18 07:44:54 +02:00
parent ba94153c3b
commit 672807280e
3 changed files with 11 additions and 4 deletions

View file

@ -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;
};
}