about summary refs log tree commit diff stats
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/package.nix b/nix/package.nix
index bbcf981..f65457b 100644
--- a/nix/package.nix
+++ b/nix/package.nix
@@ -15,7 +15,7 @@
 }:
 rustPlatform.buildRustPackage {
   pname = "back";
-  version = "1.0.0";
+  inherit ((builtins.fromTOML (builtins.readFile ../Cargo.toml)).package) version;
 
   src = lib.cleanSourceWith {
     src = lib.cleanSource ./..;