chore: change nix version format
This commit is contained in:
parent
5f0c94af77
commit
7983beaea3
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
inherit (builtins) fromTOML readFile substring;
|
inherit (builtins) fromTOML readFile substring;
|
||||||
|
|
||||||
cargoToml = fromTOML (readFile ./Cargo.toml);
|
cargoToml = fromTOML (readFile ./Cargo.toml);
|
||||||
version = "${cargoToml.package.version}_${substring 0 8 self.lastModifiedDate}_${self.shortRev or "dirty"}";
|
version = "${cargoToml.package.version}+${substring 0 8 self.lastModifiedDate}.${self.shortRev or "dirty"}";
|
||||||
|
|
||||||
mkVnetod = { lib, rustPlatform, ... }:
|
mkVnetod = { lib, rustPlatform, ... }:
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
|
|
Loading…
Reference in a new issue