Compare commits

..

View file

@ -44,11 +44,7 @@
strictDeps = true; strictDeps = true;
__structuredAttrs = true; __structuredAttrs = true;
src = lib.sourceFilesBySuffices ./. [ src = ./.;
"Cargo.toml"
"Cargo.lock"
"*.rs"
];
}; };
crate = crate =
@ -63,7 +59,7 @@
commonArgs commonArgs
// { // {
inherit name; inherit name;
cargoLock.lockFile = "${commonArgs.src}/Cargo.lock"; cargoLock.lockFile = ./Cargo.lock;
nativeBuildInputs = commonArgs.nativeBuildInputs ++ [ nativeBuildInputs = commonArgs.nativeBuildInputs ++ [
pkgs.autoPatchelfHook pkgs.autoPatchelfHook