diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-13 11:31:24 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-14 23:30:37 -0400 |
commit | 330ca731e88ec015181c43d92ae8f7c77cf0226a (patch) | |
tree | 1e840031c407cd50702ff78d05daca2f28c45c46 /pkgs/build-support/bintools-wrapper/setup-hook.sh | |
parent | d7160f39bd46e8ee86e95cbaf7a8f3d5685ab30c (diff) | |
download | nixpkgs-330ca731e88ec015181c43d92ae8f7c77cf0226a.tar nixpkgs-330ca731e88ec015181c43d92ae8f7c77cf0226a.tar.gz nixpkgs-330ca731e88ec015181c43d92ae8f7c77cf0226a.tar.bz2 nixpkgs-330ca731e88ec015181c43d92ae8f7c77cf0226a.tar.lz nixpkgs-330ca731e88ec015181c43d92ae8f7c77cf0226a.tar.xz nixpkgs-330ca731e88ec015181c43d92ae8f7c77cf0226a.tar.zst nixpkgs-330ca731e88ec015181c43d92ae8f7c77cf0226a.zip |
treewide: Get rid of all uses of crossConfig
The hack of using `crossConfig` to enforce stricter handling of dependencies is replaced with a dedicated `strictDeps` for that purpose. (Experience has shown that my punning was a terrible idea that made more difficult and embarrising to teach teach.) Now that is is clear, a few packages now use `strictDeps`, to fix various bugs: - bintools-wrapper and cc-wrapper
Diffstat (limited to 'pkgs/build-support/bintools-wrapper/setup-hook.sh')
-rw-r--r-- | pkgs/build-support/bintools-wrapper/setup-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/bintools-wrapper/setup-hook.sh b/pkgs/build-support/bintools-wrapper/setup-hook.sh index 48a00b0b9b0..a093ef8f3b4 100644 --- a/pkgs/build-support/bintools-wrapper/setup-hook.sh +++ b/pkgs/build-support/bintools-wrapper/setup-hook.sh @@ -8,7 +8,7 @@ set -u # native compile. # # TODO(@Ericson2314): No native exception -[[ -z ${crossConfig-} ]] || (( "$hostOffset" < 0 )) || return 0 +[[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0 bintoolsWrapper_addLDVars () { case $depHostOffset in |