Skip to content
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

dhallPackages.dhall-packages fails to build: #138374

Closed
trofi opened this issue Sep 18, 2021 · 1 comment · Fixed by #138487
Closed

dhallPackages.dhall-packages fails to build: #138374

trofi opened this issue Sep 18, 2021 · 1 comment · Fixed by #138487

Comments

@trofi
Copy link
Contributor

trofi commented Sep 18, 2021

dhallPackages.dhall-packages fails to build as: https://hydra.nixos.org/build/153554204

dhall: 
Error: Failed to resolve imports. Error list:

 /nix/store/x4llzr6mpaaawbg0g1ggc7gh040wzjlv-Prelude-12.0.0-9f248138f69ee5e22192dc3d0417d5c77b189e04-source/Prelude/JSON/package.dhall
   /nix/store/x4llzr6mpaaawbg0g1ggc7gh040wzjlv-Prelude-12.0.0-9f248138f69ee5e22192dc3d0417d5c77b189e04-source/Prelude/JSON/renderYAML
  sha256:862b535f6b905f1ce4b83207c58dd53ce5af0026da4c0960a3aec90fdbbb3eb0
     /nix/store/x4llzr6mpaaawbg0g1ggc7gh040wzjlv-Prelude-12.0.0-9f248138f69ee5e22192dc3d0417d5c77b189e04-source/Prelude/Optional/map
  sha256:e7f44219250b89b094fbf9996e04b5daafc0902d864113420072ae60706ac73d

Error: Unbound variable: Optional/fold

10         Optional/fold

Notify maintainers

Maybe @Gabriel439 ? (dhallPackages.dhall-packages.meta.maintainers is not present).

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: dhallPackages.dhall-packages
@Gabriella439
Copy link
Contributor

Fix is up here: #138487

Gabriella439 added a commit that referenced this issue Sep 19, 2021
Fixes #138374

The build failure in the above issue is due to
`pkgs.dhallPackages.dhall-packages` transitively depending on an
older Prelude version (12.0.0) that is incompatible with newer
Dhall versions.

I first attempted to upgrade `pkgs.dhallPackages.dhall-packages`, but
that failed due to a bad hash on an internal import, so I'm removing
the build instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants