sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 36464da82e198a0272efebda209eb610fdfa6d12
parent 492091ad4d544da7fce650b70347a151f5edb053
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sat, 13 Apr 2024 17:57:37 +1000

contrib/nix: add a shell.nix for testing 'gem install'

Diffstat:
M contrib/nix/README | 4 ++++
A contrib/nix/gem-install-shell.nix | 12 ++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/contrib/nix/README b/contrib/nix/README
@@ -1,3 +1,7 @@
 After updating Gemfile, regenerate Gemfile.lock and gemset.nix:
 
     nix-shell -p bundix --run 'bundix --gemfile=contrib/nix/Gemfile --lockfile=contrib/nix/Gemfile.lock --gemset=contrib/nix/gemset.nix -l'
+
+Test gem installation:
+
+    nix-shell contrib/nix/gem-install-shell.nix --run 'gem install --verbose -i ./asdf ./pkg/sup-999.gem'
diff --git a/contrib/nix/gem-install-shell.nix b/contrib/nix/gem-install-shell.nix
@@ -0,0 +1,12 @@
+{ pkgs ? import <nixpkgs> {} }:
+pkgs.mkShell {
+  packages = with pkgs; [
+    ncurses
+    ncurses.dev
+    libuuid
+    libuuid.dev
+    ruby_3_2
+    zlib
+    zlib.dev
+  ];
+}