we don't want it in the same package as min-copy-closure as that depends on bash
4 lines
128 B
Bash
Executable File
4 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)
|