impure-checks: unset CLAN_DIR

Unset `CLAN_DIR` in the impure checks, so that it won't reference the
users configuration.

Fixes #1419
This commit is contained in:
a-kenji
2024-05-24 12:03:11 +02:00
parent 5c67836d24
commit ecb74a5b39

View File

@@ -7,6 +7,8 @@
#!${pkgs.bash}/bin/bash
set -euo pipefail
unset CLAN_DIR
export PATH="${
lib.makeBinPath [
pkgs.gitMinimal