mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 08:57:46 +00:00
nix: use version from Cargo.toml in package derivation (#38)
This commit is contained in:
commit
154724c7b1
1 changed files with 1 additions and 1 deletions
|
@ -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 = ../.;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue