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
This commit is contained in:
parent
d33659209e
commit
d9976cae47
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "watt";
|
pname = "watt";
|
||||||
version = "0.1.0";
|
version = (builtins.fromTOML (builtins.readFile ../Cargo.toml)).package.version;
|
||||||
|
|
||||||
src = fs.toSource {
|
src = fs.toSource {
|
||||||
root = ../.;
|
root = ../.;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue