haskell.compiler.*: use symlinks from bintool wrapper if possible

Ideally we don't want to use bintools.bintools and also not really
encode knowledge of what is wrapped and what not in our GHC derivation.
Unfortunately, not all tools are part of the wrapper derivation as well.
This should be gradually improved (e.g. in the case of the darwin tools
and strip).
This commit is contained in:
sternenseemann 2024-09-23 18:00:05 +02:00
parent 5ad0f9ac30
commit 5b15a1f577
3 changed files with 15 additions and 15 deletions

View File

@ -158,12 +158,12 @@ let
tools = {
"cc" = cc;
"c++" = cc;
as = cc.bintools.bintools;
as = cc.bintools;
ar = cc.bintools.bintools;
ranlib = cc.bintools.bintools;
nm = cc.bintools.bintools;
readelf = cc.bintools.bintools;
ar = cc.bintools;
ranlib = cc.bintools;
nm = cc.bintools;
readelf = cc.bintools;
objdump = cc.bintools;
ld = cc.bintools;

View File

@ -306,12 +306,12 @@ let
tools = {
"cc" = cc;
"c++" = cc;
as = cc.bintools.bintools;
as = cc.bintools;
ar = cc.bintools.bintools;
ranlib = cc.bintools.bintools;
nm = cc.bintools.bintools;
readelf = cc.bintools.bintools;
ar = cc.bintools;
ranlib = cc.bintools;
nm = cc.bintools;
readelf = cc.bintools;
objdump = cc.bintools;
ld = cc.bintools;

View File

@ -161,12 +161,12 @@ let
tools = {
"cc" = cc;
"c++" = cc;
as = cc.bintools.bintools;
as = cc.bintools;
ar = cc.bintools.bintools;
ranlib = cc.bintools.bintools;
nm = cc.bintools.bintools;
readelf = cc.bintools.bintools;
ar = cc.bintools;
ranlib = cc.bintools;
nm = cc.bintools;
readelf = cc.bintools;
objdump = cc.bintools;
ld = cc.bintools;