From what I’m aware if I’m on
nixpkgs-20.09-darwin channel, then I should of had access to pre built ghc versions. (I’ve also tried
But what is actually happening is that I’m having to build ghc from source locally and this takes 6-8 hours through nix
The version I just tried it on is
ghc8102 which is available from what I gather as shown here
How do people get around this?
I’m aware of the great project that is happening Recurring funding for making macOS first-class citizen in Nix ecosystem but looking for an intermediary solution
First of all, confirm you actually have https://cache.nixos.org in your nix config with
nix show-config | grep substituters.
Otherwise, maybe it wasn’t cached when you first tried but now it is? Because it’s definitely there. Try
@ElvishJerricco yeah I have
substituters = https://cache.nixos.org https://iohk.cachix.org https://hasktorch.cachix.org.
Would cachix automatically use
Just trying to work out why it’s always building ghc locally for me, is it potentially how I’m setting up my
.nix file, like this one.
There must be something different about your ghc derivation. Did you change one of ghc’s build inputs in an overlay or something?
No overlays this is just using niv, but saying that I use:
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
Not sure if using niv get’s the right information, plus it’s also pointing a the branch
nixpkgs-unstable maybe it should be