haccfiles/pkgs/scripts/default.nix
stuebinm ca0c1192a0 pkgs/scripts: uffd-unused-accounts-notification.scm
this is a helper script to send emails to people who've not logged in
for a while (currently hard-coded to "since 2023-01-01"). It also sends
weekly reminders to admins giving the current number of unused accounts.

It is in $PATH for all normal users; for usage, invoke it with --help,
or just see the email it send to admin@.
2024-10-25 18:49:04 +02:00

15 lines
219 B
Nix

{ stdenvNoCC, gauche }:
stdenvNoCC.mkDerivation {
name = "hacc-utility-scripts";
src = ./.;
buildInputs = [ gauche ];
installPhase = ''
chmod +x *.scm
mkdir -p $out/bin
cp *.scm $out/bin
'';
}