Skip to content

Commit c938b98

Browse files
committed
use or syntax
1 parent 3f94083 commit c938b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
(x: "${lastTag}")
1919
(x: if (self ? shortRev)
2020
then "${x}-${self.shortRev}"
21-
else "${x}-${if self ? dirtyShortRev then self.dirtyShortRev else "dirty"}")
21+
else "${x}-${self.dirtyShortRev or "dirty"}")
2222
];
2323

2424
# Run `devbox run update-flake` to update the vendorHash

0 commit comments

Comments
 (0)