Skip to content

Commit

Permalink
🚸 Set cargo home to tmp directory in worker nix derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn committed Dec 15, 2023
1 parent 0ab0f97 commit 88976d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/pkgs/worker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ python3Packages.buildPythonApplication rec {
+ ''
export PDM_TMP=$(mktemp -d)
export PDM_CONFIG_FILE=$PDM_TMP/config
export CARGO_HOME=$(mktemp -d)
pdm config cache_dir $PDM_TMP/cache
TERM=dumb pdm install --no-lock --check --prod
Expand Down

0 comments on commit 88976d4

Please sign in to comment.