diff options
| author | seth <[email protected]> | 2024-10-16 21:07:43 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-10-16 23:23:33 -0400 |
| commit | d4f7c581955195ffdb7246b35cd264702564b2d6 (patch) | |
| tree | 045336243a45cd3c48fd878ded96db065b4ef367 /pkgs/nixgc | |
| parent | 3a4f1dd416e64f1ec4c8b1a3448c5474b0ba3f1f (diff) | |
check-pr,nixgc: drop
Diffstat (limited to 'pkgs/nixgc')
| -rw-r--r-- | pkgs/nixgc/package.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/pkgs/nixgc/package.nix b/pkgs/nixgc/package.nix deleted file mode 100644 index 9d8e230..0000000 --- a/pkgs/nixgc/package.nix +++ /dev/null @@ -1,28 +0,0 @@ -# this is a shell script that uses the new nix cli to emulate -# nix-collect-garbage -{ - lib, - writeShellApplication, - nix, - fd, -}: -writeShellApplication { - name = "nixgc"; - - runtimeInputs = [ - nix - fd - ]; - - text = '' - fd . /nix/var/nix/profiles /home/*/.local/state/nix/profiles -d 3 -t symlink -E '*-link' | while read -r profile; do - nix profile wipe-history --profile "$profile" "$@" - done - ''; - - meta = with lib; { - description = "nix-collect-garbage, but with nix profile"; - maintainers = [ maintainers.getchoo ]; - platforms = platforms.linux; - }; -} |
