From cde64c684395e097c4112ce78ceeb5a7d77993c6 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 11 Aug 2024 15:43:11 +0200 Subject: [PATCH] fix: unset PRJ_ROOT to prevent impure behavior --- module-options.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/module-options.nix b/module-options.nix index b49975d..3d97d30 100644 --- a/module-options.nix +++ b/module-options.nix @@ -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} \