From 50300dc0e7eede100cafb2b1dea9f58fee378ba3 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Wed, 17 Nov 2021 22:33:30 -0800 Subject: [PATCH] default.nix: Fix CI failure --- default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 79239a3..cbdc218 100644 --- a/default.nix +++ b/default.nix @@ -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 = {