nix: add lastModifiedDate to version for better diffing
This commit is contained in:
parent
591cac7662
commit
6efd841520
1 changed files with 4 additions and 1 deletions
|
|
@ -95,7 +95,10 @@
|
|||
# Pull from the workspace Cargo.toml — the per-crate
|
||||
# manifests use `version.workspace = true` which evaluates
|
||||
# to a table here, not a string.
|
||||
version = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).workspace.package.version;
|
||||
version =
|
||||
(builtins.fromTOML (builtins.readFile ./Cargo.toml)).workspace.package.version
|
||||
+ "-"
|
||||
+ (toString self.lastModifiedDate);
|
||||
|
||||
src = ./.;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue