-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
cabal2nix broken on darwin #49781
Comments
Personally, I have no idea what those errors mean. Pinging @shlevy and @domenkozar, who might be able to help. In any case, this bug is probably better reported at https://github.com/nixos/nixpkgs since it doesn't look like it's related to |
Most probably needs a bump of |
We discussed the issue on the nix-darwin irc yesterday. This should be fixed by #49768. It not only happens on the latest beta of macOS, but also 10.13 as well as the stable 10.14 and 10.14.1. |
Okay, thanks for the clarification and moving the issue to the correct place. I will try the fix as soon it landed. |
I'm interested in fix for that however I don't really have enough knowledge about Nix to know what is the process of release fixes like that. |
Let's find out together ;) I'm a completly novice to the nix eco-system, but I found some parts:
So I assume it should be possible to install cabal2nix (because hydra was able to build it successfully). But maybe hydra differs in the macOS version. I did following:
But this was unsuccessful on my machine. I'm currently still in the build progress of:
Not sure what the exact difference between After clicking here https://hydra.nixos.org/build/83848234 hydra offers a possibility to install from binary cache:
I will try this next. |
it's already in unstable channel. |
@MaxDaten The output of nix-channel --list isn't complete. But if you named the channel nixpkgs-unstable you then have to use that as the prefix. $ nix-env -iA nixpkgs-unstable.cabal2nix And with this you can query the current version of channels on your system. $ nix-env -p ~/.nix-defexpr/channels -q
nixpkgs-unstable-19.03pre159144.0249f7d48af
$ nix-env -p /nix/var/nix/profiles/per-user/root/channels -q # only for multi-user
nixos-18.09.1228.a4c4cbb613c |
Hi, currently still problems:
and calling:
Results:
See the attached log: |
I'm fairly new to nix, not sure if it the right place. I did a fresh install of nix via
curl https://nixos.org/nix/install | sh
.And then right after the (single-user) installation, I did
nix-env -i cabal2nix
, and it fails with:Any ideas how to solve this?
The text was updated successfully, but these errors were encountered: