From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by bl2.djc.id.au (Postfix, from userid 1000) id B226C27DFCC; Mon, 05 Oct 2026 17:05:26 +1100 (AEDT) Date: Mon, 05 Oct 2026 17:05:27 +1100 To: sup-commits@supmua.dev Subject: [sup.git] 01/03: contrib/nix: add Ruby shells as gc roots MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Dan Callaghan In-Reply-To: <179118032647.283567.18317622877648426558@bl2.djc.id.au> References: <179118032647.283567.18317622877648426558@bl2.djc.id.au> Thread-Index: AQAAEjRWLL+Zs0RlTBOXqabHikqx6w== X-Git-Host: bl2.djc.id.au X-Git-Repo: sup.git X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Rev: f75891bdfd125d25e5963442cf0e675d326d1dc3 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.7.dev Auto-Submitted: auto-generated Message-Id: <20261005060526.B226C27DFCC@bl2.djc.id.au> From: Dan Callaghan List-Id: New commit on branch develop: https://supmua.dev/git/sup/commit/f75891bdfd125d25e5963442cf0e675d326d1dc3.html commit f75891bdfd125d25e5963442cf0e675d326d1dc3 Author: Dan Callaghan AuthorDate: Sat Oct 3 21:49:34 2026 +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. --- Manifest.txt | 1 + contrib/nix/.gitignore | 1 + contrib/nix/test-all-rubies.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/Manifest.txt b/Manifest.txt index 3b3d8f33..aaf1cc8b 100644 --- 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 new file mode 100644 index 00000000..c463264b --- /dev/null +++ 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 index d1af07bd..0fdbc86e 100755 --- 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