Loading pkgs/applications/virtualization/OVMF/default.nix +0 −1 Original line number Diff line number Diff line Loading @@ -274,6 +274,5 @@ edk2.mkDerivation projectDscPath (finalAttrs: { mjoerg sigmasquadron ]; broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; }; }) pkgs/by-name/ac/acpica-tools/package.nix +8 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,13 @@ stdenv.mkDerivation (finalAttrs: { "-O3" ]; # ACPICA emits packed structs that produce unaligned pointers. Apple's # arm64 linker rejects these under chained fixups; opt back into the # legacy fixup format so the link succeeds. NIX_LDFLAGS = lib.optionalString ( stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 ) "-no_fixup_chains"; # i686 builds fail with hardening enabled (due to -Wformat-overflow). Disable # -Werror altogether to make this derivation less fragile to toolchain # updates. Loading @@ -46,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { # We can handle stripping ourselves. # Unless we are on Darwin. Upstream makefiles degrade coreutils install to cp if _APPLE is detected. INSTALLFLAGS = lib.optionals (!stdenv.hostPlatform.isDarwin) "-m 555"; INSTALLFLAGS = lib.optionalString (!stdenv.hostPlatform.isDarwin) "-m 555"; }; enableParallelBuilding = true; Loading Loading
pkgs/applications/virtualization/OVMF/default.nix +0 −1 Original line number Diff line number Diff line Loading @@ -274,6 +274,5 @@ edk2.mkDerivation projectDscPath (finalAttrs: { mjoerg sigmasquadron ]; broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; }; })
pkgs/by-name/ac/acpica-tools/package.nix +8 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,13 @@ stdenv.mkDerivation (finalAttrs: { "-O3" ]; # ACPICA emits packed structs that produce unaligned pointers. Apple's # arm64 linker rejects these under chained fixups; opt back into the # legacy fixup format so the link succeeds. NIX_LDFLAGS = lib.optionalString ( stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 ) "-no_fixup_chains"; # i686 builds fail with hardening enabled (due to -Wformat-overflow). Disable # -Werror altogether to make this derivation less fragile to toolchain # updates. Loading @@ -46,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { # We can handle stripping ourselves. # Unless we are on Darwin. Upstream makefiles degrade coreutils install to cp if _APPLE is detected. INSTALLFLAGS = lib.optionals (!stdenv.hostPlatform.isDarwin) "-m 555"; INSTALLFLAGS = lib.optionalString (!stdenv.hostPlatform.isDarwin) "-m 555"; }; enableParallelBuilding = true; Loading