Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
6bafca07bb |
|||
|
5c1a40bab9 |
1 changed files with 6 additions and 2 deletions
|
|
@ -44,7 +44,11 @@
|
|||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = ./.;
|
||||
src = lib.sourceFilesBySuffices ./. [
|
||||
"Cargo.toml"
|
||||
"Cargo.lock"
|
||||
"*.rs"
|
||||
];
|
||||
};
|
||||
|
||||
crate =
|
||||
|
|
@ -59,7 +63,7 @@
|
|||
commonArgs
|
||||
// {
|
||||
inherit name;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
cargoLock.lockFile = "${commonArgs.src}/Cargo.lock";
|
||||
|
||||
nativeBuildInputs = commonArgs.nativeBuildInputs ++ [
|
||||
pkgs.autoPatchelfHook
|
||||
|
|
|
|||
Loading…
Reference in a new issue