Fixing nix-build issue on OSX where CoreServices was not found.#128
Fixing nix-build issue on OSX where CoreServices was not found.#128forficate wants to merge 1 commit intoinput-output-hk:masterfrom
nix-build issue on OSX where CoreServices was not found.#128Conversation
|
Thanks, the fix belongs into |
|
@domenkozar I have come across this issue myself, how do I override this in default.nix, I can't work it out? |
|
Could actually be a bug in stack2nix, hackage2nix generates: |
|
Ah I see, yes that seems to work except that I'm getting stuck with |
|
|
|
you should bump nixpkgs, this was a bug a few months ago. |
|
Hmm, I get the same with and |
|
So the error happens when you build resulting stack2nix packages? |
|
no this is actually trying to build stack2nix, with the small change |
|
@shmish111 we need to bump pinned nixpkgs :) btw, you can use stack2nix from nixpkgs and that surely works. Unless you're trying to contribute something. |
|
ok, no I'm not, I'll try that. I remember a while ago that I needed to install the latest so I guess I just got stuck on that. Thanks. |
|
Yes I went down bit of a rabbit hole trying to fix this. I could not get stack2nix to add When that was resolved I got the Yesterday I did a It looks like |
|
@ajevans85 why not use stack2nix from nixpkgs, that should work. I'll see if I can fix it here as well. |
sycured
left a comment
There was a problem hiding this comment.
Works on macOS Catalina 10.15.4 (19E287)
|
Is there a chance for this PR to be merged? |
Resolves the below error when building on OSX:
Note I also needed to override the
pkgsvalue as I hit the clang to many arguments issue NixOS/nixpkgs#41340 .