forked from hacc/haccfiles
stuebinm
ca0c1192a0
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@.
15 lines
219 B
Nix
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
|
|
'';
|
|
}
|