From c1be464503849b365c22c3fcfdf0fbb72308166b Mon Sep 17 00:00:00 2001 From: Surma Date: Wed, 14 Aug 2024 15:15:17 +0100 Subject: [PATCH] Remove cargo home variable --- nix/rust-helpers/flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/rust-helpers/flake.nix b/nix/rust-helpers/flake.nix index 11e44cba2..bcb8474d6 100644 --- a/nix/rust-helpers/flake.nix +++ b/nix/rust-helpers/flake.nix @@ -49,7 +49,7 @@ dontConfigure = true; buildPhase = '' runHook preBuild - export CARGO_HOME=$TMPDIR/.cargo + cargo build \ --config 'source.crates-io.replace-with="vendored-sources"' \ --config 'source.vendored-sources.directory="${vendoredDependencies}"' \