From 790cc209ead823e3d0af505f0fd2f3f887946688 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 6 Jan 2024 10:32:08 +0300 Subject: [PATCH] bintools-wrapper: fix static check platform This was moved in https://github.com/nixOS/nixpkgs/commit/1a5bd697adecf27385b69352485baa52a6e02fe9, the preceding check was updated from hostPlatform to targetPlatform, but these got missed. --- pkgs/build-support/bintools-wrapper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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