contrib/nix/ruby3.0-shell.nix (443B) - raw
1 let
2 pkgs = import (builtins.fetchGit {
3 url = "https://github.com/NixOS/nixpkgs";
4 ref = "refs/heads/master";
5 rev = "402cc3633cc60dfc50378197305c984518b30773";
6 }) {};
7 gems = pkgs.bundlerEnv {
8 name = "ruby3.0-gems-for-sup";
9 ruby = pkgs.ruby_3_0;
10 gemfile = ./Gemfile;
11 lockfile = ./ruby3.0-Gemfile.lock;
12 gemset = ./ruby3.0-gemset.nix;
13 };
14 in pkgs.mkShell { packages = [ gems gems.wrappedRuby pkgs.pandoc ]; }