I was able to get everything compiled and running by doing this to the gem builder. I realize it's wrong way to do this as it effects all pkgs. but something like this would work i think. diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index 347c4a7..a225a31 100644 --- a/pkgs/development/ruby-modules/gem/default.nix +++ b/pkgs/development/ruby-modules/gem/default.nix @@ -19,7 +19,7 @@ # $out/bin. { lib, fetchurl, fetchgit, makeWrapper, git, darwin -, ruby, bundler +, ruby, bundler, glibcLocales } @ defs: lib.makeOverridable ( @@ -82,7 +82,7 @@ stdenv.mkDerivation (attrs // { inherit type; buildInputs = [ - ruby makeWrapper + ruby makeWrapper glibcLocales ] ++ lib.optionals (type == "git") [ git bundler ] ++ lib.optional stdenv.isDarwin darwin.libobjc ++ buildInputs; @@ -152,6 +152,9 @@ stdenv.mkDerivation (attrs // { installPhase = attrs.installPhase or '' runHook preInstall + export LANG="en_US.UTF-8" + export LC_ALL="en_US.UTF-8" + export GEM_HOME=$out/${ruby.gemPath} mkdir -p $GEM_HOME
-- Matthew O'Gorman BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv TorChat: 5w3dtk7nhkkijcpc Site: https://b.rldn.net Xim/Email: m...@rldn.net mog@rldn:~$ fortune wisdom -s|cowsay -f /dev/null _________________________________________ / Well, you know, no matter where you go, \ | there you are. | | | \ -- Buckaroo Banzai / -----------------------------------------
signature.asc
Description: PGP signature
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev