1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-30 02:17:44 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
raf
154724c7b1
nix: use version from Cargo.toml in package derivation (#38) 2025-06-08 13:08:36 +03:00
Luis Quiñones
d9976cae47
nix: use version from Cargo.toml in package derivation 2025-06-07 21:45:42 -05:00

View file

@ -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 = ../.;