Skip to content

haskellPackages.inspection-testing: mark broken in pkgsStatic#474609

Merged
wolfgangwalther merged 1 commit intoNixOS:masterfrom
sternenseemann:hs-inspection-testing-no-static
Jan 28, 2026
Merged

haskellPackages.inspection-testing: mark broken in pkgsStatic#474609
wolfgangwalther merged 1 commit intoNixOS:masterfrom
sternenseemann:hs-inspection-testing-no-static

Conversation

@sternenseemann
Copy link
Member

We can build it, but it's useless as compiler plugins are incompatible with -fexternal-interpreter

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.

We can build it, but it's useless as compiler plugins are incompatible
with -fexternal-interpreter
@sternenseemann
Copy link
Member Author

@ofborg build pkgsStatic.haskellPackages.vector

@nixpkgs-ci nixpkgs-ci bot requested a review from maralorn December 27, 2025 18:18
@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 Dec 27, 2025
@sternenseemann sternenseemann changed the base branch from haskell-updates to staging December 27, 2025 18:22
@nixpkgs-ci nixpkgs-ci bot closed this Dec 27, 2025
@nixpkgs-ci nixpkgs-ci bot reopened this Dec 27, 2025
@wolfgangwalther
Copy link
Contributor

Since we have enableExternalInterpreter for the generic builder we could use this in an override where we disable that, right?

I think a better change would be to doCheck = !self.inspection-testing.meta.broken && !old.enableExternalInterpreter for vector?

@sternenseemann
Copy link
Member Author

Since we have enableExternalInterpreter for the generic builder we could use this in an override where we disable that, right?

No, it is only possible to inspect arguments insofar they have been given explicitly via the overriding interface. It is a shortcoming of haskellPackages.mkDerivation that the effective arguments aren't properly inspectable.

In any case what I wanted to avoid for now was another mechanism for disabling inspection-testing given we already have one, but I agree that this could probably be refactored to be cleaner.

@sternenseemann
Copy link
Member Author

sternenseemann commented Dec 28, 2025

However we do it, disabling the test suite of vector is currently enough to get postgrest to build again in pkgsStatic.

@wolfgangwalther
Copy link
Contributor

wolfgangwalther commented Dec 28, 2025

The alternative is to just force disable enableExternalInterpreter for vector, because it's not needed anyway.

Edit: I wonder whether we could generally only enable the external interpreter when the package depends on template-haskell?

@sternenseemann
Copy link
Member Author

sternenseemann commented Dec 28, 2025 via email

@alexfmpe
Copy link
Member

Edit: I wonder whether we could generally only enable the external interpreter when the package depends on template-haskell?

I don't think you need the template-haskell package dependency to use the TemplateHaskell extension.

@wolfgangwalther wolfgangwalther changed the base branch from staging to master January 28, 2026 13:19
@nixpkgs-ci nixpkgs-ci bot closed this Jan 28, 2026
@nixpkgs-ci nixpkgs-ci bot reopened this Jan 28, 2026
@wolfgangwalther wolfgangwalther added this pull request to the merge queue Jan 28, 2026
Merged via the queue into NixOS:master with commit f88f70c Jan 28, 2026
87 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