Skip to content

Commit

Permalink
fix: Hydra eval (more like a workaround)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrus committed Jan 9, 2025
1 parent 6d1cde5 commit ba891cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/internal/source-lib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ in rec {
else "dirty";
# XXX: inputs.self.revCount is not available in Cicero, let’s use a counter incrementing every hour:
buildCounter =
if inputs.self ? shortRev
if inputs.self ? lastModified
then (inputs.self.lastModified - daedalusEpoch) / (60 * 60)
else 0;

Expand Down

0 comments on commit ba891cf

Please sign in to comment.