From 1f7b8ab80f5e19de7c03c7852c8ee385d4229742 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 7 Nov 2024 15:24:37 -0700 Subject: [PATCH] package.nix: Exclude .github from cleaned source --- package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.nix b/package.nix index bb4142f..a4b4b9f 100644 --- a/package.nix +++ b/package.nix @@ -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 ./.; };