Skip to content

Commit aa945b1

Browse files
committed
make version more predictable
This makes it easier for packager and fixes #345
1 parent 8f7b4a7 commit aa945b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

flake.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
overlays = [ self.overlay ];
1616
}
1717
);
18-
version = builtins.readFile ./version
19-
+ "." + builtins.substring 0 8 self.lastModifiedDate
20-
+ "." + (self.shortRev or "dirty");
18+
version = builtins.readFile ./version;
2119
pkgs = nixpkgsFor.${"x86_64-linux"};
2220
in
2321

0 commit comments

Comments
 (0)