8 lines
186 B
Nix
8 lines
186 B
Nix
{ revision }:
|
|
|
|
selfLib: superLib: {
|
|
trivial = superLib.trivial // {
|
|
versionSuffix = ".git.${builtins.substring 0 12 revision}";
|
|
revisionWithDefault = default: revision;
|
|
};
|
|
}
|