Sridhar Ratnakumar
Sridhar Ratnakumar
https://github.com/NixOS/nixpkgs/pull/198827
@toastal Note: `pkgs.purescript` (what you linked to above) is a different package to `pkgs.haskellPackages.purescript`. The latter is what is known to build successfully.
Yes, what I meant by "different package" (bad phrasing, btw) was that they are both the same package, PureScript, but one is a binary downloaded off GitHub and other is...
Note: it is marked as broken only because[^err] the default packaget set (`pkgs.haskellPackages` set) is still using GHC 9.0.2, which is no longer being supported by PureScript (https://github.com/purescript/purescript/pull/4351). `pkgs.haskell.packages.ghc925.purescript` does...
AFAIU: See https://github.com/purs-nix/purescript-tools/tree/master/purescript For eg., https://github.com/purs-nix/purescript-tools/blob/master/purescript/0.15.4.nix could probably just be `{ pkgs }: pkgs.haskell.packages.ghc925.purescript` .. but since there is exactly one PureScript compiler version in the given nixpkgs, it will...
@oati Regarding your previous comment, I'm not sure why you have to emulate Linux itself. Try https://github.com/Platonic-Systems/purescript-multi-nix which does work well with `--option system x86_64-darwin` on my M1 mac.
@oati I suggest filing a separate issue for that (this one is for native macOS support, not Linux on ARM mac). But looking at `setup: line 1398: 98 Killed `,...
Here's a prototype implementing this spec: https://github.com/srid/purescript-multi-nix See `multi.nix`. Ultimately, we want to upstream this functionality to purs-nix, whilst refactoring purs-nix internals as necessary (for multi-package "awareness").
The prototype has been updated to simplify the `foreign` part: https://github.com/Platonic-Systems/purescript-multi-nix/pull/16
This is a 2-column layout; there is also a 1-column layout available with a nice inverted tree at top: https://emanote.srid.ca/demo/neuron-layout