Skip to content

Commit

Permalink
Merge pull request #388 from replit/cad/cargo-home-in-xdg-data-home
Browse files Browse the repository at this point in the history
[rust] set CARGO_HOME to $XDG_DATA_HOME/cargo
  • Loading branch information
cdmistman authored Aug 30, 2024
2 parents ebda0ec + 509f335 commit 9de0c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/modules/rust/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ in
};

replit.env = {
CARGO_HOME = "$REPL_HOME/.cargo";
CARGO_HOME = "$XDG_DATA_HOME/.cargo";
};
}

0 comments on commit 9de0c76

Please sign in to comment.