diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-01 20:07:34 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-01 20:07:34 +0200 |
| commit | dfa1aefddcfe05624d8e59292ccc43682131208d (patch) | |
| tree | d8f7de27ee3f1b5b8a13a735c4ec48af221c88be | |
| parent | modules/lutris: Init (diff) | |
| download | nixos-config-dfa1aefddcfe05624d8e59292ccc43682131208d.zip | |
scripts/unflake.sh: Explain how the npins version hack works
Diffstat (limited to '')
| -rwxr-xr-x | scripts/unflake.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/unflake.sh b/scripts/unflake.sh index b46df36e..2404260a 100755 --- a/scripts/unflake.sh +++ b/scripts/unflake.sh @@ -3,7 +3,10 @@ set -e # HACK(@bpeetz): unflake doesn't support npins version 8 yet, so we pretend to still use -# version 7. <2026-06-13> +# version 7. +# Essentially, we are abusing the fact that `npins` will look at `NPINS_DIRECTORY` while +# unflake doesn't. +# <2026-06-13> NPINS_DIRECTORY="$(mktemp -t "npins_fake_dir_for_unflake_XXXXX" -d)" export NPINS_DIRECTORY |
