sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/

contrib/nix/ruby2.4-shell.nix (971B) - raw

      1 let
      2   pkgs = import (builtins.fetchGit {
      3     url = "https://github.com/danc86/nixpkgs";
      4     ref = "refs/heads/old-rubies-for-sup";
      5     rev = "a19c3284e36dd21c032f3495afdc6f8919b59497";
      6   }) {};
      7   gems = pkgs.bundlerEnv {
      8     name = "ruby2.4-gems-for-sup";
      9     ruby = pkgs.ruby_2_4.override { useRailsExpress = false; };
     10     gemfile = ./Gemfile;
     11     lockfile = ./ruby2.4-Gemfile.lock;
     12     gemset = ./ruby2.4-gemset.nix;
     13     gemConfig = pkgs.defaultGemConfig // {
     14       fiddle = attrs: {
     15         buildInputs = [ pkgs.libffi ];
     16       };
     17       # Workaround: remove rake from nativeBuildInputs, otherwise it causes
     18       # xapian-bindings to build against the default Ruby version
     19       # instead of our chosen version.
     20       xapian-ruby = attrs: pkgs.defaultGemConfig.xapian-ruby attrs // {
     21         dependencies = [ "rake" ];
     22         nativeBuildInputs = [ pkgs.pkg-config ];
     23       };
     24     };
     25   };
     26 in pkgs.mkShell { nativeBuildInputs = [ gems gems.wrappedRuby pkgs.pandoc ]; }