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

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 {