Skip to content

Instantly share code, notes, and snippets.

@nyarly
Created June 22, 2018 20:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nyarly/bf0fe13cb986e2088433fdcc30aef94b to your computer and use it in GitHub Desktop.
Save nyarly/bf0fe13cb986e2088433fdcc30aef94b to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
let
inherit (pkgs) lib stdenv ruby_2_3 rake bundler bundlerEnv openssl defaultGemConfig;
rubyEnv = bundlerEnv {
name = "mezzo";
ruby = ruby_2_3;
gemdir = ./.;
gemConfig = defaultGemConfig // {
tiny_tds = attrs: {
nativeBuildInputs = [openssl];
};
};
};
in
pkgs.mkShell {
buildInputs = [ruby_2_3 rubyEnv];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment