chore: change nix version format

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-07 23:36:54 +03:00
parent 5f0c94af77
commit 7983beaea3
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
inherit (builtins) fromTOML readFile substring;
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, ... }:
rustPlatform.buildRustPackage {