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 12, 2024
1 parent c9f9703 commit cde64c6
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 cde64c6

Please sign in to comment.