ghc821-binary: avoid mass-rebuild by using old dynamic linker string
This commit is contained in:
parent
b4c91a3e1a
commit
e065779af1
@ -16,7 +16,8 @@ let
|
||||
|
||||
glibcDynLinker = assert stdenv.isLinux;
|
||||
if stdenv.hostPlatform.libc == "glibc" then
|
||||
stdenv.cc.bintools.dynamicLinker
|
||||
# Could be stdenv.cc.bintools.dynamicLinker, keeping as-is to avoid rebuild.
|
||||
''"$(cat $NIX_CC/nix-support/dynamic-linker)"''
|
||||
else
|
||||
"${stdenv.lib.getLib glibc}/lib/ld-linux*";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user