We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ormolu-0.5.0.1
nix-shell -p ormolu with current nixpkgs-unstable, will produce error:
nix-shell -p ormolu
nixpkgs-unstable
error: cycle detected in build of '/nix/store/mn4cj42d5b99i1iky0k6z0iq0m8jwrix-ormolu-0.5.0.1.drv' in the references of output 'bin' from output 'out'
https://gist.github.com/c0207dde2cda91d1883fb6c1e4815b2a
The content of /nix/store/mn4cj42d5b99i1iky0k6z0iq0m8jwrix-ormolu-0.5.0.1.drv produced.
/nix/store/mn4cj42d5b99i1iky0k6z0iq0m8jwrix-ormolu-0.5.0.1.drv
Cross-posted here: tweag/ormolu#965
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
yvan@Butternut ~ % nix-shell -p nix-info --run "nix-info -m" - system: `"aarch64-darwin"` - host os: `Darwin 22.2.0, macOS 13.1` - multi-user?: `yes` - sandbox: `no` - version: `nix-env (Nix) 2.12.0` - channels(yvan): `"darwin, home-manager, nixpkgs"` - channels(root): `""` - nixpkgs: `/Users/yvan/.nix-defexpr/channels/nixpkgs`
The text was updated successfully, but these errors were encountered:
See #140774 (comment)
Sorry, something went wrong.
Last night I helped a friend get setup using GHC via devenv.sh. We used this devenv.nix file (that works for me):
devenv.nix
{ pkgs, ... }: { packages = [ pkgs.ghc pkgs.git pkgs.haskell-language-server pkgs.hlint pkgs.stylish-haskell ]; languages.haskell.enable = true; languages.nix.enable = true; }
We got the "ormolu cycle". Ugh.
In our case, the workaround was for me to have him delete his devenv.lock file and replace it with mine (which points to older stuff).
devenv.lock
But this means anyone trying GHC via devenv is going to hit this. Not a good first look.
This has been fixed :)
No branches or pull requests
Steps To Reproduce
nix-shell -p ormolu
with currentnixpkgs-unstable
, will produce error:Build log
https://gist.github.com/c0207dde2cda91d1883fb6c1e4815b2a
Additional context
The content of
/nix/store/mn4cj42d5b99i1iky0k6z0iq0m8jwrix-ormolu-0.5.0.1.drv
produced.Notify maintainers
Cross-posted here: tweag/ormolu#965
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: