darwin: R: provide gettext and gfortran as buildInputs on Darwin.

As discussed in #10623, many R modules fail to build on Darwin without the
libraries and compilers provided by these packages.

For more detail, please see comment:

  https://github.com/NixOS/nixpkgs/pull/10623#issuecomment-172375342
This commit is contained in:
Michael Stone
2016-07-22 13:31:40 -04:00
parent e4b7b7b028
commit c1d24efd6a
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -8,6 +8,7 @@ let
buildRPackage = pkgs.callPackage ./generic-builder.nix {
inherit R;
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa Foundation;
inherit (pkgs) gettext gfortran;
};
# Generates package templates given per-repository settings