Open nwjsmith opened 2 years ago
I've found a workaround!
(build-tools-32-0-0.overrideAttrs (oldAttrs: {
dontStrip = true;
}))
Since everything is being unpacked from archives anyway, should dontStrip = true
be added to mkGeneric
?
Alternatively, I can figure out why llvm-rs-cc
isn't being stripped and fix that for build-tools
I'm having trouble running the RenderScript compiler,
llvm-rs-cc
because code signatures are stripped from a dylib inbuild-tools
. This is relevant part of the error I'm hitting:and the full error if you're an avid reader:
I can check the signatures with
codesign
.libbcinfo.dylib
has an ad-hoc signature:and
llvm-rs-cc
is signed, by Google presumably:This brings us to the bug in
android-nixpkgs
. When I download the build tools ZIP directly, bothllvm-rs-cc
andlibbcinfo.dylib
are signed:Is there a way to preserve the signatures from the originals?