R: fix Darwin build

Merged manually from https://github.com/NixOS/nixpkgs/pull/10623.
This commit is contained in:
Asko Soukka
2016-01-06 22:20:40 +01:00
committed by Peter Simons
parent 26f80d7a6f
commit a225a650bf
4 changed files with 34 additions and 11 deletions
+4 -1
View File
@@ -5,7 +5,10 @@
let
inherit (pkgs) fetchurl stdenv lib;
buildRPackage = pkgs.callPackage ./generic-builder.nix { inherit R; };
buildRPackage = pkgs.callPackage ./generic-builder.nix {
inherit R;
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa Foundation;
};
# Generates package templates given per-repository settings
#