From d9976cae47f3c8dbf57a7103e1882423655c4ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Qui=C3=B1ones?= Date: Sat, 7 Jun 2025 21:45:42 -0500 Subject: [PATCH] nix: use version from Cargo.toml in package derivation --- nix/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/package.nix b/nix/package.nix index 98228c5..8331a44 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -6,7 +6,7 @@ in rustPlatform.buildRustPackage (finalAttrs: { pname = "watt"; - version = "0.1.0"; + version = (builtins.fromTOML (builtins.readFile ../Cargo.toml)).package.version; src = fs.toSource { root = ../.;