default.nix: Exclude manual from source
This commit is contained in:
parent
1f738c8014
commit
1ac5fd0f9b
1 changed files with 2 additions and 5 deletions
|
@ -15,11 +15,8 @@ in rustPlatform.buildRustPackage {
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
|
|
||||||
src = lib.cleanSourceWith {
|
src = lib.cleanSourceWith {
|
||||||
filter = name: type: !(type == "directory" && baseNameOf name == "target");
|
filter = name: type: !(type == "directory" && builtins.elem (baseNameOf name) [ "manual" ]);
|
||||||
src = lib.cleanSourceWith {
|
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
|
||||||
filter = lib.cleanSourceFilter;
|
|
||||||
src = ./.;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
|
|
Loading…
Reference in a new issue