Skip to content

Comments

haskell.packages.ghcjs.exceptions: fix eval#313792

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

haskell.packages.ghcjs.exceptions: fix eval#313792
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
trofi:haskell.packages.ghcjs.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.ghcjs.exceptions
error:
       … in the left operand of the update (//) operator
         at pkgs/development/haskell-modules/lib/compose.nix:40:7:
           39|     mkDerivation = drv: (args.mkDerivation drv).override f;
           40|   })) // {
             |       ^
           41|     overrideScope = scope: overrideCabal f (drv.overrideScope scope);

       error: attribute 'exceptions_0_10_7' missing
       at pkgs/development/haskell-modules/configuration-ghcjs.nix:30:26:
           29|   stm = doJailbreak self.stm_2_5_3_1;
           30|   exceptions = dontCheck self.exceptions_0_10_7;
             |                          ^
           31|
       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.ghcjs.exceptions
    error:
           … in the left operand of the update (//) operator
             at pkgs/development/haskell-modules/lib/compose.nix:40:7:
               39|     mkDerivation = drv: (args.mkDerivation drv).override f;
               40|   })) // {
                 |       ^
               41|     overrideScope = scope: overrideCabal f (drv.overrideScope scope);

           error: attribute 'exceptions_0_10_7' missing
           at pkgs/development/haskell-modules/configuration-ghcjs.nix:30:26:
               29|   stm = doJailbreak self.stm_2_5_3_1;
               30|   exceptions = dontCheck self.exceptions_0_10_7;
                 |                          ^
               31|
           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
Copy link
Member

Thx!

@maralorn maralorn merged commit 7707b74 into NixOS:haskell-updates May 22, 2024
@trofi trofi deleted the haskell.packages.ghcjs.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