Skip to content

Commit dd1c4ac

Browse files
committed
build: fix rev logic
1 parent a42deae commit dd1c4ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nix/jormungandr/containers.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
mkOCI = namespace: let
1010
rev =
11-
if (inputs.self.rev != "not-a-commit")
11+
if (inputs.self ? rev)
1212
then inputs.self.rev
1313
else "dirty";
1414
in

nix/vit-servicing-station/containers.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
mkOCI = namespace: let
1010
rev =
11-
if (inputs.self.rev != "not-a-commit")
11+
if (inputs.self ? rev)
1212
then inputs.self.rev
1313
else "dirty";
1414
in

0 commit comments

Comments
 (0)