Skip to content

haskell.compiler.native-bignum: don't evaluate compiler exprs - #508952

Merged
alexfmpe merged 1 commit into
NixOS:masterfrom
sternenseemann:haskell-compiler-native-bignum-aliases
Apr 11, 2026
Merged

haskell.compiler.native-bignum: don't evaluate compiler exprs#508952
alexfmpe merged 1 commit into
NixOS:masterfrom
sternenseemann:haskell-compiler-native-bignum-aliases

Conversation

@sternenseemann

Copy link
Copy Markdown
Member

This makes isNativeBignumGhc purely textual again after #460845. Could improve performance in the right conditions, but most importantly solves eval issues with aliases allowed (due to the throw-ing ghc attributes) without resorting to tryEval.

Another instance of CI not catching an eval issue that is introduced in the presence of aliases.

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.

This makes isNativeBignumGhc purely textual again after NixOS#460845.
Could improve performance in the right conditions, but most importantly
solves eval issues with aliases allowed (due to the throw-ing ghc
attributes) without resorting to tryEval.
@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 Apr 11, 2026
@alexfmpe
alexfmpe added this pull request to the merge queue Apr 11, 2026
Merged via the queue into NixOS:master with commit 59e1fb4 Apr 11, 2026
31 of 34 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.

2 participants