Skip to content

haskell.packages.ghc865Binary.exceptions: fix eval#313791

Merged
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
trofi:haskell.packages.ghc865Binary.exceptions-fix-eval
May 22, 2024
Merged

haskell.packages.ghc865Binary.exceptions: fix eval#313791
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
trofi:haskell.packages.ghc865Binary.exceptions-fix-eval

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented May 22, 2024

Without the change the eval fails as:

$ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions
error: attribute 'exceptions_0_10_7' missing
       at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:98:16:
           97|   # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore.
           98|   exceptions = self.exceptions_0_10_7;
             |                ^
           99|
       Did you mean exceptions_0_10_8?

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Without the change the eval fails as:

    $ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions
    error: attribute 'exceptions_0_10_7' missing
           at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:98:16:
               97|   # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore.
               98|   exceptions = self.exceptions_0_10_7;
                 |                ^
               99|
           Did you mean exceptions_0_10_8?
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label May 22, 2024
@maralorn maralorn merged commit 381d8be into NixOS:haskell-updates May 22, 2024
@trofi trofi deleted the haskell.packages.ghc865Binary.exceptions-fix-eval branch May 22, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants