fix rev
This commit is contained in:
parent
bd128d43b0
commit
99e71beded
|
@ -53,7 +53,7 @@ in {
|
|||
(builtins.readFile ../secrets/ca.crt)
|
||||
];
|
||||
|
||||
system.nixos.label = (builtins.concatStringsSep "-" (builtins.sort (x: y: x < y) config.system.nixos.tags)) + config.system.nixos.version + "-SHA:${inputs.self.dirtyShortRev}";
|
||||
system.nixos.label = let rev = if builtins.hasAttr "dirtyShortRev" inputs.self then inputs.self.dirtyShortRev else inputs.self.shortRev; in (builtins.concatStringsSep "-" (builtins.sort (x: y: x < y) config.system.nixos.tags)) + config.system.nixos.version + "-SHA:${rev}";
|
||||
|
||||
# Use some binary caches
|
||||
nix.settings = {
|
||||
|
|
Loading…
Reference in a new issue