capnproto: fix platform offset
Due to the wrong platform offset, buildPackages.capnproto would inappropriately depend on empty-libgcc_eh when building with dynamic build platform and static host platform. In turn the build would fail due to the archiver not being found.
This commit is contained in:
@@ -45,7 +45,7 @@ clangStdenv.mkDerivation rec {
|
||||
openssl
|
||||
zlib
|
||||
]
|
||||
++ lib.optional (clangStdenv.cc.isClang && clangStdenv.targetPlatform.isStatic) empty-libgcc_eh;
|
||||
++ lib.optional (clangStdenv.cc.isClang && clangStdenv.hostPlatform.isStatic) empty-libgcc_eh;
|
||||
|
||||
# FIXME: separate the binaries from the stuff that user systems actually use
|
||||
# This runs into a terrible UX issue in Lix and I just don't want to debug it
|
||||
|
||||
Reference in New Issue
Block a user