haskell-nix icon indicating copy to clipboard operation
haskell-nix copied to clipboard

morte-1.7.1 in nixpkgs-19.09 is marked as broken

Open y-taka-23 opened this issue 5 years ago • 5 comments

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.

y-taka-23 avatar Apr 24 '19 13:04 y-taka-23

@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:

  • http://dhall-lang.org/
  • https://github.com/dhall-lang/dhall-lang/

Gabriella439 avatar May 15 '19 01:05 Gabriella439

Ay, so is the PR welcomed?

y-taka-23 avatar May 16 '19 04:05 y-taka-23

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

Gabriella439 avatar May 23 '19 02:05 Gabriella439

This should unbreak morte in nixpkgs: https://github.com/Gabriel439/Haskell-Morte-Library/pull/88

int-index avatar Nov 03 '19 20:11 int-index

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

Gabriella439 avatar Nov 03 '19 23:11 Gabriella439