mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-05 17:07:50 +00:00
Mark x86 Mach-O info entries as alternate entries in both GHC stages, so LLD preserves tables-next-to-code. Add a production compiler object/link regression to the existing Intel CI job.
17 lines
603 B
Nix
17 lines
603 B
Nix
{ haskellNix }:
|
|
system:
|
|
# Keep haskell.nix's existing host pins, including Intel Darwin's 26.05 pin.
|
|
# Its flake omits ARM64 Linux, so construct that native set from the same inputs.
|
|
let
|
|
native = haskellNix.legacyPackages.${system} or (import haskellNix.inputs.nixpkgs {
|
|
localSystem = { inherit system; };
|
|
config = haskellNix.config;
|
|
overlays = [ haskellNix.overlay ];
|
|
});
|
|
in
|
|
if system == "x86_64-linux"
|
|
then native.appendOverlays [ (import ./native-rts-overlay.nix) ]
|
|
else if system == "x86_64-darwin"
|
|
then native.appendOverlays [ (import ./darwin-info-table-overlay.nix) ]
|
|
else native
|