default.nix: Fix CI failure

This commit is contained in:
Zhaofeng Li 2021-11-17 22:33:30 -08:00
parent 810885af81
commit 50300dc0e7

View file

@ -15,8 +15,8 @@ in rustPlatform.buildRustPackage {
version = "0.1.0";
src = lib.cleanSourceWith {
filter = name: type: !(type == "directory" && builtins.elem (baseNameOf name) [ "manual" ]);
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
filter = name: type: !(type == "directory" && builtins.elem (baseNameOf name) [ "target" "manual" ]);
src = lib.cleanSource ./.;
};
cargoLock = {