diff options
-rw-r--r-- | users/picnoir/tvix-daemon/.gitignore | 1 | ||||
-rw-r--r-- | users/picnoir/tvix-daemon/default.nix | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/users/picnoir/tvix-daemon/.gitignore b/users/picnoir/tvix-daemon/.gitignore new file mode 100644 index 000000000000..ea8c4bf7f35f --- /dev/null +++ b/users/picnoir/tvix-daemon/.gitignore @@ -0,0 +1 @@ +/target diff --git a/users/picnoir/tvix-daemon/default.nix b/users/picnoir/tvix-daemon/default.nix index e9004e408208..78b9aa9a1d1c 100644 --- a/users/picnoir/tvix-daemon/default.nix +++ b/users/picnoir/tvix-daemon/default.nix @@ -20,9 +20,10 @@ in shell = (import ./shell.nix { inherit pkgs; }); tvix-daemon = crate2nix.rootCrate.build; clippy = pkgs.stdenv.mkDerivation { - src = ./.; - cargoDeps = crate2nix.allWorkspaceMembers; name = "tvix-daemon-clippy"; + # The cleaned sources. + src = depot.third_party.gitignoreSource ./.; + cargoDeps = crate2nix.allWorkspaceMembers; nativeBuildInputs = with pkgs; [ cargo |