diff --git a/nix/rust-helpers/flake.nix b/nix/rust-helpers/flake.nix index 11e44cba..bcb8474d 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}"' \