Created
February 17, 2017 18:15
-
-
Save nyarly/f96e1823bca6462b719953316743898f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 bundler bundlerEnv; | |
| rubyEnv = bundlerEnv { | |
| name = "jekyll-blog"; | |
| ruby = ruby; #ruby_1_9; | |
| gemfile = ./Gemfile; | |
| lockfile = ./Gemfile.lock; | |
| gemset = ./gemset.nix; | |
| }; | |
| in stdenv.mkDerivation { | |
| name = "blog-shell"; | |
| src = ./.; | |
| /* | |
| passthru = { | |
| inherit (rubyEnv) env; | |
| }; | |
| */ | |
| buildInputs = [ | |
| rubyEnv | |
| bundler | |
| ]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment