cc-wrapper: WIP linking hack for mac OS

Probably best to override Haskell packages set, or anything else
linking a lot of libraries, with this.
This commit is contained in:
John Ericson
2017-07-17 23:36:17 -04:00
parent d4ef5ac0e9
commit 0c37778c2c
5 changed files with 208 additions and 3 deletions

View File

@@ -297,7 +297,7 @@ in rec {
initialPath = import ../common-path.nix { inherit pkgs; };
shell = "${pkgs.bash}/bin/bash";
cc = import ../../build-support/cc-wrapper {
cc = lib.callPackageWith {} ../../build-support/cc-wrapper {
inherit (pkgs) stdenv;
inherit shell;
nativeTools = false;