Commit notifications for all Sup repositories
 help / color / mirror / Atom feed
From: Dan Callaghan <dan@bl2.djc.id.au>
To: sup-commits@supmua.dev
Subject: [sup.git] 01/03: contrib/nix: add Ruby shells as gc roots
Date: Mon, 05 Oct 2026 17:05:27 +1100	[thread overview]
Message-ID: <20261005060526.B226C27DFCC@bl2.djc.id.au> (raw)
In-Reply-To: <179118032647.283567.18317622877648426558@bl2.djc.id.au>

New commit on branch develop:
https://supmua.dev/git/sup/commit/f75891bdfd125d25e5963442cf0e675d326d1dc3.html

commit f75891bdfd125d25e5963442cf0e675d326d1dc3
Author: Dan Callaghan <djc@djc.id.au>
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

  reply	other threads:[~2026-10-05  6:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-05  6:05 [sup.git] branch develop updated (1aae17f2 -> 73559396) Dan Callaghan
2026-10-05  6:05 ` Dan Callaghan [this message]
2026-10-05  6:05 ` [sup.git] 02/03: contrib/nix/test-all-rubies.sh: add Ruby 4.0 Dan Callaghan
2026-10-05  6:05 ` [sup.git] 03/03: use MatchAll base query term instead of Kmail Dan Callaghan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261005060526.B226C27DFCC@bl2.djc.id.au \
    --to=dan@bl2.djc.id.au \
    --cc=djc@djc.id.au \
    --cc=sup-commits@supmua.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox