-
Notifications
You must be signed in to change notification settings - Fork 79
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
Apple M1 issue #355
Comments
Seems to be the same as #343 and #332 and NixOS/nixpkgs#155722, right? |
yeah i get that too, and heard others with it setting the system to |
Odd, I had niv working fine on this arch until a few weeks ago, then presumably as the result of a routine nixpkgs (unstable) bump in my config, I started getting this issue. |
Same here, recent nixpkgs update causes this again |
This is an upstream issue in nixpkgs:
And here's a workaround: niv =
let
# Workaround for https://github.com/NixOS/nixpkgs/issues/140774
fixCyclicReference = drv:
pkgs.haskell.lib.overrideCabal drv (_: {
enableSeparateBinOutput = false;
});
in
fixCyclicReference pkgs.haskellPackages.niv; I'll close this ticket but please go and make some noise on the ticket upstream! |
I'm nix beginner and I have no idea where to put that snippet of code |
I assume the intent is to use this code as an overlay when instantiating nixpkgs? |
Not necessarily, you can use it anywhere you'd normally use |
No, intent is to install niv CLI, so I can run eg. |
Seeing this error running
nix v2.10.3
on an Apple M1 Mac. Please do let me know what additional information I can provide to help debug this issue.The text was updated successfully, but these errors were encountered: