package.nix: Exclude .github from cleaned source
This commit is contained in:
parent
8a8f47a1b1
commit
1f7b8ab80f
1 changed files with 6 additions and 1 deletions
|
@ -5,7 +5,12 @@ rustPlatform.buildRustPackage rec {
|
|||
version = "0.5.0-pre";
|
||||
|
||||
src = lib.cleanSourceWith {
|
||||
filter = name: type: !(type == "directory" && builtins.elem (baseNameOf name) [ "target" "manual" "integration-tests" ]);
|
||||
filter = name: type: !(type == "directory" && builtins.elem (baseNameOf name) [
|
||||
".github"
|
||||
"target"
|
||||
"manual"
|
||||
"integration-tests"
|
||||
]);
|
||||
src = lib.cleanSource ./.;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue