forked from DGNum/colmena
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";
|
||||
|
||||
src = lib.cleanSourceWith {
|
||||
filter = name: type: !(type == "directory" && baseNameOf name == "target");
|
||||
src = lib.cleanSourceWith {
|
||||
filter = lib.cleanSourceFilter;
|
||||
src = ./.;
|
||||
};
|
||||
filter = name: type: !(type == "directory" && builtins.elem (baseNameOf name) [ "manual" ]);
|
||||
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
|
|
Loading…
Reference in a new issue