Skip to content

Instantly share code, notes, and snippets.

@nyarly
Created Jun 22, 2018
Embed
What would you like to do?
{ 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