Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bintools-wrapper: remove redundant arg #103053

Merged
merged 2 commits into from Nov 13, 2020
Merged

bintools-wrapper: remove redundant arg #103053

merged 2 commits into from Nov 13, 2020

Conversation

zowoq
Copy link
Contributor

@zowoq zowoq commented Nov 7, 2020

Motivation for this change

Fix #101330

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

cctools 949.0.1 warns if min version is passed twice.
@r-burns
Copy link
Contributor

r-burns commented Nov 7, 2020

I think #101602 can now be reverted as well

@zowoq
Copy link
Contributor Author

zowoq commented Nov 7, 2020

I think #101602 can now be reverted as well

Yeah, I'll do that after this lands in master so it doesn't interfere the workflow on the haskell-updates branch.

Copy link
Contributor

@r-burns r-burns left a comment

Choose a reason for hiding this comment

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

Rebuilt stdenv + affected packages a couple weeks ago, worked for me #101330 (comment)

@zowoq zowoq merged commit 051812b into NixOS:staging Nov 13, 2020
@zowoq zowoq deleted the sigh branch November 13, 2020 21:11
Copy link
Contributor

@marsam marsam left a comment

Choose a reason for hiding this comment

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

Sorry I'm late. LGTM, thanks!.
Reading the git history about this flag, seem to be okay to remove it:

The -macosx_version_min flag isn't strictly necessary since that's already handled by MACOSX_DEPLOYMENT_TARGET.
a826b49

the compiler always adds the flag [-macos_version_min] based on the variable [MACOSX_DEPLOYMENT_TARGET], overriding this original one, it's not really necessary. Added it just in case but should be fine to leave out if you're concerned about it. #77632 (comment)

@uri-canva
Copy link
Contributor

I think this broke bazel on darwin: #105439

@uri-canva
Copy link
Contributor

Verified reverting this fixes both bazel and libmodplug, which are currently broken on master. It's possible other packages are affected too.

@avdv
Copy link
Member

avdv commented Dec 4, 2020

I have created #105573 to track this down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants