1
0
Fork 0
nixredo/nixredo-gc

4 lines
184 B
Bash

#!/bin/sh
[ "${NIXREDO_ROOT+x}" = x ] || { printf "$0 only runs for private a nix store. Set NIXREDO_ROOT to a non-empty value\n"; exit 127; }
nix-store --store "${NIXREDO_ROOT}" --gc