Skip to content

Commit

Permalink
fix: unset PRJ_ROOT to prevent impure behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Aug 11, 2024
1 parent 14c092e commit 2dfba1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module-options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ in
else
''
set -euo pipefail
unset PRJ_ROOT
exec ${config.package}/bin/treefmt \
--config-file=${config.build.configFile} \
--tree-root-file=${config.projectRootFile} \
Expand Down

0 comments on commit 2dfba1a

Please sign in to comment.