gem-config: add iconv (#49910)

This commit is contained in:
Marwan Aljubeh 2018-11-08 16:46:29 +00:00 committed by zimbatm
parent 357554ae89
commit 8bfe8c45a7

View file

@ -191,6 +191,10 @@ in
[ darwin.apple_sdk.frameworks.CoreServices ];
};
iconv = attrs: {
buildFlags = lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
};
# disable bundle install as it can't install anything in addition to what is
# specified in pkgs/applications/misc/jekyll/Gemfile anyway. Also do chmod_R
# to compensate for read-only files in site_template in nix store.