3 lines
184 B
Bash
3 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
|