Skip to content

Instantly share code, notes, and snippets.

@nyarly
Created May 14, 2017 21:51
Show Gist options
  • Save nyarly/500e6f42a59ff8aed0d6448974f1770c to your computer and use it in GitHub Desktop.
Save nyarly/500e6f42a59ff8aed0d6448974f1770c to your computer and use it in GitHub Desktop.
{ pkgs ? import /home/judson/dev/nixpkgs {} }:
let
inherit (pkgs) lib stdenv ruby rake bundler bundlerEnv;
rubyEnv = bundlerEnv {
pname = "shex";
ruby = ruby;
groups = ["default" "test" "development" "debug"];
gemdir = ./.;
};
in
stdenv.mkDerivation {
name = "shex-shell";
nativeBuildInputs = [ rubyEnv.basicEnv rake ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment