forked from DGNum/liminix
b0098f1c8e
we don't want it in the same package as min-copy-closure as that depends on bash
3 lines
128 B
Bash
Executable file
3 lines
128 B
Bash
Executable file
#!/bin/sh
|
|
test -f /persist/nix-store-paths || exit 1
|
|
(cd /nix/store && min-list-garbage /persist/nix-store-paths | xargs rm -r)
|