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

morte-1.7.1 in nixpkgs-19.09 is marked as broken #77

Open
y-taka-23 opened this issue Apr 24, 2019 · 5 comments
Open

morte-1.7.1 in nixpkgs-19.09 is marked as broken #77

y-taka-23 opened this issue Apr 24, 2019 · 5 comments

Comments

@y-taka-23
Copy link

On the beginning of Project3, the command for building morte throws an error:

$ nix-build '<nixpkgs>' --attr haskellPackages.morte --show-trace
error: while evaluating the attribute 'handled' at /nix/store/ccyx7vqs8w74hq336b21mv79s0fbg728-nixpkgs-19.09pre175347.02bb5e35eae/nixpkgs/pkgs/stdenv/generic/check-meta.nix:252:7:
while evaluating 'handleEvalIssue' at /nix/store/ccyx7vqs8w74hq336b21mv79s0fbg728-nixpkgs-19.09pre175347.02bb5e35eae/nixpkgs/pkgs/stdenv/generic/check-meta.nix:146:28, called from /nix/store/ccyx7vqs8w74hq336b21mv79s0fbg728-nixpkgs-19.09pre175347.02bb5e35eae/nixpkgs/pkgs/stdenv/generic/check-meta.nix:253:14:
Package ‘morte-1.7.1’ in /nix/store/ccyx7vqs8w74hq336b21mv79s0fbg728-nixpkgs-19.09pre175347.02bb5e35eae/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:156186 is marked as broken, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
@Gabriella439
Copy link
Owner

@y-taka-23: Yeah, at this point dhall is now the successor to morte, so I recommend using that if that is okay with you. See:

@y-taka-23
Copy link
Author

Ay, so is the PR welcomed?

@Gabriella439
Copy link
Owner

@y-taka-23: Yeah, I'd still welcome a pull request to fix it

@int-index
Copy link

This should unbreak morte in nixpkgs: Gabriella439/Haskell-Morte-Library#88

@Gabriella439
Copy link
Owner

@int-index: Thank you! I just uploaded this to Hackage as morte-1.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants