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

[20.03] ghc: do not use ld.gold with musl libc #93687

Merged
merged 2 commits into from Jul 23, 2020

Conversation

nh2
Copy link
Contributor

@nh2 nh2 commented Jul 23, 2020

Motivation for this change

Backport of #84741 and #84809 to fix pkgsStatic Haskell builds on 20.03.

CC @utdemir @adamse @domenkozar

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.

I did not test, hope the bots do it for me.

@nh2 nh2 changed the title Ghc no gold 20.03 [20.03] ghc: do not use ld.gold with musl libc Jul 23, 2020
@cdepillabout
Copy link
Member

cdepillabout commented Jul 23, 2020

@nh2 Is building something like this sufficient to test that this is working (well, at least for ghc865)? Although I imagine this might timeout on ofborg:

@GrahamcOfBorg build pkgsStatic.haskellPackages.lens

@domenkozar domenkozar merged commit 93a38cd into NixOS:release-20.03 Jul 23, 2020
nomeata added a commit to nomeata/kaleidogen that referenced this pull request Aug 30, 2020
as described in NixOS/nixpkgs#43795 (comment)

thanks to NixOS/nixpkgs#93687 the relevant
commits should be in 20.03
nomeata added a commit to nomeata/kaleidogen that referenced this pull request Aug 30, 2020
as described in NixOS/nixpkgs#43795 (comment)

thanks to NixOS/nixpkgs#93687 the relevant commits should be in 20.03.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants