mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-12 09:28:09 +00:00
15 lines
497 B
Nix
15 lines
497 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 native
|