nix: backend limit included files
This commit is contained in:
parent
f8e2b87e9c
commit
813260d029
1 changed files with 9 additions and 1 deletions
|
@ -8,7 +8,15 @@ rustPlatform.buildRustPackage rec {
|
|||
pname = "backend";
|
||||
version = "0.1";
|
||||
|
||||
src = ../.;
|
||||
src = lib.fileset.toSource {
|
||||
root = ../.;
|
||||
fileset = lib.fileset.unions [
|
||||
../Cargo.lock
|
||||
../Cargo.toml
|
||||
../crates
|
||||
../.cargo
|
||||
];
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ../Cargo.lock;
|
||||
|
|
Loading…
Add table
Reference in a new issue