Skip to content

Commit ba891cf

Browse files
committed
fix: Hydra eval (more like a workaround)
1 parent 6d1cde5 commit ba891cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/internal/source-lib.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ in rec {
3838
else "dirty";
3939
# XXX: inputs.self.revCount is not available in Cicero, let’s use a counter incrementing every hour:
4040
buildCounter =
41-
if inputs.self ? shortRev
41+
if inputs.self ? lastModified
4242
then (inputs.self.lastModified - daedalusEpoch) / (60 * 60)
4343
else 0;
4444

0 commit comments

Comments
 (0)