7 ms·
> cabal build --platform=amd64 It's almost a one-liner + a nix derivation import, works within a minute on incremental builds even on large projects: https://i
by instig007 4mo ago
> cabal build --platform=amd64
It's almost a one-liner + a nix derivation import, works within a minute on incremental builds even on large projects: https://input-output-hk.github.io/haskell.nix/tutorials/cross-compilation.html https://input-output-hk.github.io/haskell.nix/tutorials/cros...
- faangguyindia 4mo agobut does it require installing nix on mac? also many people are not familiar with nix and brew does all i need.
- instig007 4mo ago> but does it require installing nix on mac? yes: sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) https://nixos.org/download/ https://nixos.org/download/ > also many people are not familiar with nix and brew does all i need it's a good reason to learn Nix then: it will completely replace your brew and offer an ultimate build tool suitable for any software stack moving forward. And you'll get cross-platform and static Haskell builds.