contrib/nix/ruby2.7-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 = "ruby2.7-gems-for-sup";
9 ruby = pkgs.ruby_2_7;
10 gemfile = ./Gemfile;
11 lockfile = ./ruby2.7-Gemfile.lock;
12 gemset = ./ruby2.7-gemset.nix;
13 };
14 in pkgs.mkShell { packages = [ gems gems.wrappedRuby pkgs.pandoc ]; }