Skip to content

haskell.packages.ghc98.ghc-lib: fix the eval#306098

Merged
sternenseemann merged 1 commit intoNixOS:haskell-updatesfrom
trofi:haskell.packages.ghc98.ghc-lib-fix-eval
Apr 24, 2024
Merged

haskell.packages.ghc98.ghc-lib: fix the eval#306098
sternenseemann merged 1 commit intoNixOS:haskell-updatesfrom
trofi:haskell.packages.ghc98.ghc-lib-fix-eval

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Apr 22, 2024

Without the change eval fails as:

$ nix build --no-link -f. haskell.packages.ghc98.ghc-lib
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 'ghc-lib_9_8_1_20231121' missing
   at pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix:58:26:
       57|   ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
       58|   ghc-lib = doDistribute self.ghc-lib_9_8_1_20231121;
         |                          ^
       59|   megaparsec = doDistribute self.megaparsec_9_6_1;

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.05 Release Notes (or backporting 23.05 and 23.11 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 eval fails as:

    $ nix build --no-link -f. haskell.packages.ghc98.ghc-lib
    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 'ghc-lib_9_8_1_20231121' missing
       at pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix:58:26:
           57|   ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
           58|   ghc-lib = doDistribute self.ghc-lib_9_8_1_20231121;
             |                          ^
           59|   megaparsec = doDistribute self.megaparsec_9_6_1;
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Apr 22, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Apr 22, 2024
@sternenseemann sternenseemann merged commit 4f6ebb6 into NixOS:haskell-updates Apr 24, 2024
@trofi trofi deleted the haskell.packages.ghc98.ghc-lib-fix-eval branch April 24, 2024 20:41
@alexfmpe alexfmpe mentioned this pull request May 17, 2024
13 tasks
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 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants