diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index 69a128382ff8..ffe99da86922 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -63,7 +63,6 @@ rec { unset SDKROOT stripAllFlags=" " # the Darwin "strip" command doesn't know "-s" - '' + lib.optionalString localSystem.isx86_64 '' stripDebugFlags="-S" # the Darwin "strip" command does something odd with "-p" '';