diff --git a/flake.nix b/flake.nix index e42514d..a0d008a 100644 --- a/flake.nix +++ b/flake.nix @@ -44,11 +44,7 @@ strictDeps = true; __structuredAttrs = true; - src = lib.sourceFilesBySuffices ./. [ - "Cargo.toml" - "Cargo.lock" - "*.rs" - ]; + src = ./.; }; crate = @@ -63,7 +59,7 @@ commonArgs // { inherit name; - cargoLock.lockFile = "${commonArgs.src}/Cargo.lock"; + cargoLock.lockFile = ./Cargo.lock; nativeBuildInputs = commonArgs.nativeBuildInputs ++ [ pkgs.autoPatchelfHook