Skip to content

haskell.packages.ghc902Binary.apply-refact: fix the eval#441567

Merged
sternenseemann merged 1 commit intoNixOS:masterfrom
trofi:haskell.packages.ghc902Binary.apply-refact-fix-eval
Sep 10, 2025
Merged

haskell.packages.ghc902Binary.apply-refact: fix the eval#441567
sternenseemann merged 1 commit intoNixOS:masterfrom
trofi:haskell.packages.ghc902Binary.apply-refact-fix-eval

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Sep 9, 2025

Without the change the eval fails as:

$nix build --no-link -f. haskell.packages.ghc902Binary.apply-refact
error: attribute 'apply-refact_0_9_3_0' missing
   at pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix:175:18:
      174|
      175|   apply-refact = self.apply-refact_0_9_3_0;
         |                  ^
      176|

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

Without the change the eval fails as:

    $nix build --no-link -f. haskell.packages.ghc902Binary.apply-refact
    error: attribute 'apply-refact_0_9_3_0' missing
       at pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix:175:18:
          174|
          175|   apply-refact = self.apply-refact_0_9_3_0;
             |                  ^
          176|
@nixpkgs-ci nixpkgs-ci 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. 6.topic: haskell General-purpose, statically typed, purely functional programming language labels Sep 9, 2025
@sternenseemann
Copy link
Member

@maralorn Does anything besides HLS need this?

@maralorn
Copy link
Member

maralorn commented Sep 9, 2025

Apply-refact can be useful with hlint standalone, but 9.0 does not matter at all imo. Let's just merge this.

@sternenseemann sternenseemann merged commit 42f292a into NixOS:master Sep 10, 2025
34 of 36 checks passed
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.

3 participants