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

treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix #109887

Merged
merged 8 commits into from Jan 19, 2021

Conversation

jonringer
Copy link
Contributor

Motivation for this change

continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.

cc @siraben @SuperSandro2000

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.

@jonringer
Copy link
Contributor Author

I'm going to ignore the white space check, because I value my sanity when editing 1717 files

@jonringer
Copy link
Contributor Author

whitespace PR: #109911

@jonringer jonringer force-pushed the alias-pkgconfig branch 2 times, most recently from 196cf4d to e46f82d Compare January 19, 2021 07:56
@jonringer
Copy link
Contributor Author

last two failures are from from not meeting requireFile requirements

https://github.com/NixOS/nixpkgs/pull/109887

1 package marked as broken and skipped:
rapcad

2 packages failed to build:
houdini quartus-prime-lite

46 packages built:
appimage-run arduino-ci arduino-cli bitscope.chart bitscope.console bitscope.display bitscope.dso bitscope.logic bitscope.meter bitscope.proto bitscope.server blas-reference clonehero cloudcompare conda dropbox dropbox-cli esphome fahclient flutter flutter-beta flutter-dev hover left4gore-bin libsForQt5.dxflib libsForQt512.dxflib libsForQt514.dxflib libtensorflow-bin lightworks mate.caja-dropbox pkgconfig pkgconfigUpstream platformio plex python37Packages.fenics python37Packages.goocalendar python38Packages.fenics python38Packages.goocalendar python39Packages.fenics python39Packages.goocalendar radare2-cutter saga sidequest tryton vmware-horizon-client zulip

Jonathan Ringer added 5 commits January 19, 2021 00:18
continuation of NixOS#109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
@jonringer
Copy link
Contributor Author

this is annoying, running ofborg locally with allowAliases = false; causes alias issues which aren't related to the PR

@jonringer
Copy link
Contributor Author

once ofborg passes, I'm merging

@jonringer
Copy link
Contributor Author

alright, I think this is in good enough shape. Merging as I want to go to bed, and need to wake up in ~5 hours

@jonringer jonringer merged commit e2fcf81 into NixOS:master Jan 19, 2021
@SuperSandro2000
Copy link
Member

I hope I do not merge a PR which introduces new build failures by using old ofborg evals.

@jonringer jonringer deleted the alias-pkgconfig branch January 19, 2021 14:47
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/pkgconfig-alias-has-been-officially-aliased/11066/1

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