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.
% ./try-reflex
If you have any trouble with this script, please submit an issue at https://github.com/reflex-frp/reflex-platform/issues
Add binary caches for reflex to /etc/nix/nix.conf ?
1) Yes
2) No
3) Ask again next time
#? 1
/etc/nix/nix.conf already exists: creating backup - This requires root access.
Password:
backup saved at /etc/nix/nix.conf.2022-09-01T05:03:54Z.bak
Adding cache settings to /etc/nix/nix.conf - This requires root access.
Entering the reflex sandbox...
error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket': Connection refused
(use '--show-trace' to show detailed location information)
So then I tried:
% ./try-reflex --show-trace
If you have any trouble with this script, please submit an issue at https://github.com/reflex-frp/reflex-platform/issues
Entering the reflex sandbox...
error: cannot coerce null to a string
at /nix/store/v875173zq41lvy43jkw1hl17m0amdsfc-source/pkgs/stdenv/generic/make-derivation.nix:192:34:
191| // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) {
192| name = "${attrs.pname}-${attrs.version}";
| ^
193| } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) {
(use '--show-trace' to show detailed location information)
Platform: macOS Monterey 12.5.1, aarch64, nix 2.10.3
So then I tried: