mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-17 08:09:52 +00:00
nix: infer package version from Cargo.toml
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964297f08843615d04e10d405cdc4ef134f
This commit is contained in:
parent
3262715cf0
commit
57e8bc1474
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "stash";
|
pname = "stash";
|
||||||
version = "0.1.0";
|
version = (builtins.fromTOML (builtins.readFile ../Cargo.toml)).package.version;
|
||||||
|
|
||||||
src = let
|
src = let
|
||||||
fs = lib.fileset;
|
fs = lib.fileset;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue