zaphyra's git: tgcNUR

fork of https://git.transgirl.cafe/zaphoid/tgc-nix-user-repository

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
{
  tgcMaintainers,
  lib,
  stdenvNoCC,
  ...
}:

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "nix-cleanup";
  version = "0.0.0.1";

  dontUnpack = true;
  src = ./nix-cleanup.sh;

  postInstall = ''
    mkdir -p $out/bin
    install --mode +x $src $out/bin/nix-cleanup
  '';

  meta = {
    description = "Just a tiny helper to clean up your nix store!";
    license = [ lib.licenses.mit ];
    platforms = lib.platforms.linux;
    maintainers = [ tgcMaintainers.zaphyra ];
  };
})