sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit f75891bdfd125d25e5963442cf0e675d326d1dc3
parent 1aae17f22fc4afd8e2246942108292266d01824b
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sat,  3 Oct 2026 21:49:34 +1000

contrib/nix: add Ruby shells as gc roots

nix-collect-garbage keeps wiping out the derivations for all the old
Rubies, which is annoying because they are expensive to build.

Diffstat:
M Manifest.txt | 1 +
A contrib/nix/.gitignore | 1 +
M contrib/nix/test-all-rubies.sh | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Manifest.txt b/Manifest.txt
@@ -23,6 +23,7 @@ bin/sup-tweak-labels
 contrib/colorpicker.rb
 contrib/completion/_sup.bash
 contrib/completion/_sup.zsh
+contrib/nix/.gitignore
 contrib/nix/Gemfile
 contrib/nix/Gemfile.lock
 contrib/nix/README
diff --git a/contrib/nix/.gitignore b/contrib/nix/.gitignore
@@ -0,0 +1 @@
+.*shell-inputs
diff --git a/contrib/nix/test-all-rubies.sh b/contrib/nix/test-all-rubies.sh
@@ -2,5 +2,6 @@
 set -e
 cd "$(dirname "$0")/../.."
 for rubyversion in 2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3 3.4 ; do
+    nix-build contrib/nix/ruby$rubyversion-shell.nix -A inputDerivation -o contrib/nix/.ruby$rubyversion-shell-inputs
     nix-shell contrib/nix/ruby$rubyversion-shell.nix --run 'rake ci'
 done