mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
jekyll: Switch from bundlerEnv to bundlerApp (#59327)
This commit is contained in:
parent
2d1fa68c83
commit
86a914adb4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user