-
Couldn't load subscription status.
- Fork 28
Fixing nix-build issue on OSX where CoreServices was not found.
#128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fixing nix-build issue on OSX where CoreServices was not found.
#128
Conversation
|
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 .