diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index 31be230a67ad..5b185b09a4c5 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -52,7 +52,7 @@ # Except when: # - static aarch64, where compilation works, but produces segfaulting dynamically linked binaries. # - static armv7l, where compilation fails. - && !(hostPlatform.isAarch && hostPlatform.isStatic) + && !(targetPlatform.isAarch && targetPlatform.isStatic) ) "pie" # Darwin code signing support utilities