Skip to content

haskellPackages.3d-graphics-example: fix the eval#466522

Merged
wolfgangwalther merged 1 commit intoNixOS:stagingfrom
trofi:haskellPackages.3d-graphics-example-fix-eval
Nov 30, 2025
Merged

haskellPackages.3d-graphics-example: fix the eval#466522
wolfgangwalther merged 1 commit intoNixOS:stagingfrom
trofi:haskellPackages.3d-graphics-example-fix-eval

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Nov 30, 2025

Without the change the eval fails as:

$ nix build --no-link -f. haskellPackages.3d-graphics-example
error:
   … while evaluating the attribute 'value'
     at pkgs/development/haskell-modul
     2162|         name = old;
     2163|         value =
         |         ^
     2164|           lib.warnOnInstantiate "haskell.packages.*.${old} has b

   … in the right operand of the update (//) operator
     at lib/derivations.nix:253:12:
      252|     in
      253|     drv // mapAttrs (_: lib.warn msg) drvToWrap;
         |            ^
      254| }

   (stack trace truncated; use '--show-trace' to show the full, detailed tr

   error: attribute '_3d-graphics-example' missing
   at pkgs/development/haskell-modules/configuration-nix.nix:2165:13:
     2164|           lib.warnOnInstantiate "haskell.packages.*.${old} has been renamed to haskell.packages.*.${new}"
     2165|             self.${new};
         |             ^
     2166|       }
   Did you mean one of 3d-graphics-example or _3d-graphics-examples?

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. haskellPackages.3d-graphics-example
    error:
       … while evaluating the attribute 'value'
         at pkgs/development/haskell-modul
         2162|         name = old;
         2163|         value =
             |         ^
         2164|           lib.warnOnInstantiate "haskell.packages.*.${old} has b

       … in the right operand of the update (//) operator
         at lib/derivations.nix:253:12:
          252|     in
          253|     drv // mapAttrs (_: lib.warn msg) drvToWrap;
             |            ^
          254| }

       (stack trace truncated; use '--show-trace' to show the full, detailed tr

       error: attribute '_3d-graphics-example' missing
       at pkgs/development/haskell-modules/configuration-nix.nix:2165:13:
         2164|           lib.warnOnInstantiate "haskell.packages.*.${old} has been renamed to haskell.packages.*.${new}"
         2165|             self.${new};
             |             ^
         2166|       }
       Did you mean one of 3d-graphics-example or _3d-graphics-examples?
@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 Nov 30, 2025
@wolfgangwalther
Copy link
Contributor

Thank you!

@wolfgangwalther wolfgangwalther added this pull request to the merge queue Nov 30, 2025
@wolfgangwalther wolfgangwalther added the backport staging-25.11 Backport PR automatically label Nov 30, 2025
Merged via the queue into NixOS:staging with commit eb655bc Nov 30, 2025
32 of 35 checks passed
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Nov 30, 2025

Successfully created backport PR for staging-25.11:

@github-actions github-actions bot added the 8.has: port to stable This PR already has a backport to the stable release. label Nov 30, 2025
@trofi trofi deleted the haskellPackages.3d-graphics-example-fix-eval branch November 30, 2025 13:41
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 8.has: port to stable This PR already has a backport to the stable release. 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. backport staging-25.11 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants