reflex-frp / reflex-platform

A curated package set and set of tools that let you build Haskell packages so they can run on a variety of platforms. reflex-platform is built on top of the nix package manager.
https://reflex-frp.org
BSD 3-Clause "New" or "Revised" License
713 stars 163 forks source link

No ghc-8.10.4 for M1 macOS #809

Closed WeetHet closed 7 months ago

WeetHet commented 1 year ago

I've just tried to run ./try-reflex --show-trace and got this error

If you have any trouble with this script, please submit an issue at https://github.com/reflex-frp/reflex-platform/issues
warning: ignoring untrusted substituter 'https://cache.nixos.org/'
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
error: Package ‘ghc-8.10.4’ in /nix/store/xln8nq120xfa36yh500mjqabc9x3miv9-source/pkgs/development/compilers/ghc/8.10.4.nix:263 is not supported on ‘aarch64-darwin’, refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)
ali-abrar commented 10 months ago

In progress here https://github.com/reflex-frp/reflex-platform/pull/804

ali-abrar commented 7 months ago

Fixed in 1.2.0.0