Last active
June 21, 2017 16:12
-
-
Save dirn/04c9e134ab34dc76069d65e067086c3c to your computer and use it in GitHub Desktop.
PyGotham nix
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
with import <nixpkgs> {}; | |
let rubyenv = bundlerEnv { | |
name = "pygotham-2017-ruby-env"; | |
inherit ruby; | |
gemfile = ./Gemfile; | |
lockfile = ./Gemfile.lock; | |
# This can be generated using $(nix-build '<nixpkgs>' -A bundix)/bin/bundix | |
gemset = ./gemset.nix; | |
}; | |
in stdenv.mkDerivation { | |
name = "pygotham-2017"; | |
buildInputs = [ | |
ruby_2_4 | |
rubyenv | |
]; | |
shellHook = '' | |
exec ${rubyenv}/bin/jekyll serve --watch | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment