summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-09-17 10:41:46 +0200
committerMoritz Angermann <moritz.angermann@gmail.com>2021-09-17 10:41:46 +0200
commitfdd3243539f1f99b1a122f4f8ebc362be2468180 (patch)
treeec40b5833721659ed693f3db66009efcc45691ce
parent64923cf295ea914db458547432237a5ed1eff571 (diff)
downloadhaskell-wip/angerman/ci-darwin-use-clt.tar.gz
[CI] Darwin prefer CLTwip/angerman/ci-darwin-use-clt
-rw-r--r--.gitlab/shell.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab/shell.nix b/.gitlab/shell.nix
index 1ded62d982..fc3f33c998 100644
--- a/.gitlab/shell.nix
+++ b/.gitlab/shell.nix
@@ -48,6 +48,12 @@
export MACOSX_DEPLOYMENT_TARGET=10.7
+ # make sure CLT binaries take precedence over nix supplied binraries.
+ # the logic behind this is as follows: we expect people to be able to use their
+ # apple supplied (and likey more recent) CC, LD, ... instead of relying of
+ # midly outdated open sourced and rebuilt tools of those.
+ export PATH=/Library/Developer/CommandLineTools/usr/bin:$PATH
+
'';
nativeBuildInputs = (with pkgs; [