From 86a914adb43cba71141d44c0fff651ffba33dbae Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Thu, 11 Apr 2019 23:05:46 +0200 Subject: [PATCH] jekyll: Switch from bundlerEnv to bundlerApp (#59327) --- pkgs/applications/misc/jekyll/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/misc/jekyll/default.nix b/pkgs/applications/misc/jekyll/default.nix index ce3c318f6780..34cf0e21db7b 100644 --- a/pkgs/applications/misc/jekyll/default.nix +++ b/pkgs/applications/misc/jekyll/default.nix @@ -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