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