-
-
Save nyarly/bf0fe13cb986e2088433fdcc30aef94b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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