jekyll: Switch from bundlerEnv to bundlerApp (#59327)

This commit is contained in:
Michael Weiss 2019-04-11 23:05:46 +02:00 committed by GitHub
parent 2d1fa68c83
commit 86a914adb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,10 @@
{ lib, bundlerEnv, ruby
{ lib, bundlerApp, ruby
, withOptionalDependencies ? false
}:
# Bundix:
# nix-shell -p bundix zlib
bundlerEnv rec {
name = pname + "-" + version;
bundlerApp rec {
pname = "jekyll";
version = (import
(if withOptionalDependencies
then ./full/gemset.nix
else ./basic/gemset.nix))
.jekyll.version;
exes = [ "jekyll" ];
inherit ruby;
gemdir = if withOptionalDependencies