Skip to content

cplex & oilrush: fix evaluation errors#457769

Open
h0nIg wants to merge 2 commits intoNixOS:masterfrom
h0nIg:patch-40
Open

cplex & oilrush: fix evaluation errors#457769
h0nIg wants to merge 2 commits intoNixOS:masterfrom
h0nIg:patch-40

Conversation

@h0nIg
Copy link
Contributor

@h0nIg h0nIg commented Nov 2, 2025

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.

@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. labels Nov 2, 2025
@h0nIg h0nIg changed the title cplex: fix evaluation errors cplex & oilrush: fix evaluation errors Nov 2, 2025
@h0nIg h0nIg marked this pull request as ready for review November 2, 2025 11:07
@nixpkgs-ci nixpkgs-ci bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Nov 2, 2025
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
platforms = if releasePath == null then [ ] else [ "x86_64-linux" ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this effective leads to the error message never being visible, so users don't know what they need to do to make this work.

Copy link
Contributor Author

@h0nIg h0nIg Nov 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just partially correct, they will be told to

  1. enable unfree software (same as before)
  2. enable unsupported platforms (because they did not specify src)
  3. will see the error message that they need to specify src (same as before)

it would be the same if we use broken = if .... and NIXPKGS_ALLOW_BROKEN=true, what do you think matches most here @wolfgangwalther ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that nobody expects to get to useful information after enabling unsupported platforms.

I think this needs meta.problems: NixOS/rfcs#127

@nixpkgs-ci nixpkgs-ci bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Nov 2, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge conflict This PR has merge conflicts with the target branch 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