Split `buildCommand`, provide `unpackCmd` and add `installPhase`.
Use autoPatchelfHook, we can get rid of all the manual hacking around
with patchelf.
Use install to install to $out
URL: https://gitlab.gnome.org/GNOME/gtk/issues/303
This patch will fix the assertion generated at startup for freeciv on
macOS. Conditionally applied on Darwin.
Gdk:ERROR:gdkimage-quartz.c:250:_gdk_image_new_for_depth: assertion failed: (depth == 24 || depth == 32)
Before this change:
$ readelf --notes /nix/store/zf5yja02g8n8dzgs25pqfd8w3myfzgzc-qtbase-5.10.1/lib/libQt5Core.so
Displaying notes found at file offset 0x004a7778 with length 0x00000020:
Owner Data size Description
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
OS: Linux, ABI: 3.17.0
After:
$ readelf --notes /nix/store/sg1s9hdw0b7p6h0dwg09g4lxy1acq7y6-qtbase-5.10.1/lib/libQt5Core.so
Displaying notes found at file offset 0x004a7dcc with length 0x00000020:
Owner Data size Description
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
OS: Linux, ABI: 2.6.28
-----------
The above paths were before rebasing the commit onto staging,
and it'd probably be good to have someone confirm the same happens
when built on a hydra builder or other non-dtzWill machine :).
[dezgeg: added comments]
The hack of using `crossConfig` to enforce stricter handling of
dependencies is replaced with a dedicated `strictDeps` for that purpose.
(Experience has shown that my punning was a terrible idea that made more
difficult and embarrising to teach teach.)
Now that is is clear, a few packages now use `strictDeps`, to fix
various bugs:
- bintools-wrapper and cc-wrapper
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/gdal/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdal2tiles.py-wrapped -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdal2tiles.py-wrapped --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal2tiles.py -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal2tiles.py --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.mkgraticule.py-wrapped help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/mkgraticule.py help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalsrsinfo help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/ogrinfo help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal-config --version’ and found version 2.3.0
- found 2.3.0 with grep in /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0
- directory tree listing: https://gist.github.com/b6bcad3891a98e65991899121540cc85
- du listing: https://gist.github.com/f89d55b943a68b1550b8eff3f204f27f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mlt/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/xp3sq5n9xcqwibdcwlnw1kndc67ykpb9-mlt-6.8.0/bin/melt -h’ got 0 exit code
- ran ‘/nix/store/xp3sq5n9xcqwibdcwlnw1kndc67ykpb9-mlt-6.8.0/bin/melt --help’ got 0 exit code
- ran ‘/nix/store/xp3sq5n9xcqwibdcwlnw1kndc67ykpb9-mlt-6.8.0/bin/melt help’ got 0 exit code
- ran ‘/nix/store/xp3sq5n9xcqwibdcwlnw1kndc67ykpb9-mlt-6.8.0/bin/.melt-wrapped -h’ got 0 exit code
- ran ‘/nix/store/xp3sq5n9xcqwibdcwlnw1kndc67ykpb9-mlt-6.8.0/bin/.melt-wrapped --help’ got 0 exit code
- ran ‘/nix/store/xp3sq5n9xcqwibdcwlnw1kndc67ykpb9-mlt-6.8.0/bin/.melt-wrapped help’ got 0 exit code
- found 6.8.0 with grep in /nix/store/xp3sq5n9xcqwibdcwlnw1kndc67ykpb9-mlt-6.8.0
- directory tree listing: https://gist.github.com/486acd53034e92704cc044a92c6e32ef
- du listing: https://gist.github.com/ff98100a51f78de609043361454df0b1
unibilium expects to use the `ncursesw6-config` command to find terminfo dirs. Before that would fail & default to some nonexistant TERMINFO_DIRS value (on pure systems at least). This will add `ncurses.out` which is a little bit unfortunate because unibilium is meant as a replacement for ncurses. In the future, we should add a `terminfo` output to ncurses so that other things can use its db without pulling in its libraries & binaries.
Fixes#40404.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/ldb/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbadd --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbsearch --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbdel --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbmodify --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbedit --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbrename --help’ got 0 exit code
- found 1.3.3 with grep in /nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3
- directory tree listing: https://gist.github.com/c6a5cda289b4f02fa7a87af2345baf74
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/webkitgtk/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/h4aballc6wsb4kj32kcjcx5x4vbax6fj-webkitgtk-2.20.2/bin/WebKitWebDriver -h’ got 0 exit code
- ran ‘/nix/store/h4aballc6wsb4kj32kcjcx5x4vbax6fj-webkitgtk-2.20.2/bin/WebKitWebDriver --help’ got 0 exit code
- found 2.20.2 with grep in /nix/store/h4aballc6wsb4kj32kcjcx5x4vbax6fj-webkitgtk-2.20.2
- directory tree listing: https://gist.github.com/e3496e2d8a6b933a107141f5caecb92d
(cherry picked from commit 926dc3881e)
Note from @obadz: merged #40315 to staging accidentally but this should go to
master due to CVE hence this cherry-pick.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/webkitgtk/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/h4aballc6wsb4kj32kcjcx5x4vbax6fj-webkitgtk-2.20.2/bin/WebKitWebDriver -h’ got 0 exit code
- ran ‘/nix/store/h4aballc6wsb4kj32kcjcx5x4vbax6fj-webkitgtk-2.20.2/bin/WebKitWebDriver --help’ got 0 exit code
- found 2.20.2 with grep in /nix/store/h4aballc6wsb4kj32kcjcx5x4vbax6fj-webkitgtk-2.20.2
- directory tree listing: https://gist.github.com/e3496e2d8a6b933a107141f5caecb92d
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/rabbitmq-c/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/4k9n5w1zcpnx1qq6rvdy2nc7zl7pkb7i-rabbitmq-c-0.9.0/bin/amqp-publish --help’ got 0 exit code
- ran ‘/nix/store/4k9n5w1zcpnx1qq6rvdy2nc7zl7pkb7i-rabbitmq-c-0.9.0/bin/amqp-get --help’ got 0 exit code
- ran ‘/nix/store/4k9n5w1zcpnx1qq6rvdy2nc7zl7pkb7i-rabbitmq-c-0.9.0/bin/amqp-consume --help’ got 0 exit code
- ran ‘/nix/store/4k9n5w1zcpnx1qq6rvdy2nc7zl7pkb7i-rabbitmq-c-0.9.0/bin/amqp-declare-queue --help’ got 0 exit code
- ran ‘/nix/store/4k9n5w1zcpnx1qq6rvdy2nc7zl7pkb7i-rabbitmq-c-0.9.0/bin/amqp-delete-queue --help’ got 0 exit code
- found 0.9.0 with grep in /nix/store/4k9n5w1zcpnx1qq6rvdy2nc7zl7pkb7i-rabbitmq-c-0.9.0
- directory tree listing: https://gist.github.com/15d9dcbdbc027933140607d48794a9a3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/opendht/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode -h’ got 0 exit code
- ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode --help’ got 0 exit code
- ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode help’ got 0 exit code
- ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtchat -h’ got 0 exit code
- ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtchat --help’ got 0 exit code
- ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtscanner -h’ got 0 exit code
- ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtscanner --help’ got 0 exit code
- found 1.7.2 with grep in /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2
- directory tree listing: https://gist.github.com/bae66cd16ade0c7ae0789b34e0528267
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/libpqxx/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/6mshwwzcsvpxxwn4hw9msm5ffwyy5wv3-libpqxx-6.2.3/bin/pqxx-config -h’ got 0 exit code
- ran ‘/nix/store/6mshwwzcsvpxxwn4hw9msm5ffwyy5wv3-libpqxx-6.2.3/bin/pqxx-config --help’ got 0 exit code
- ran ‘/nix/store/6mshwwzcsvpxxwn4hw9msm5ffwyy5wv3-libpqxx-6.2.3/bin/pqxx-config help’ got 0 exit code
- found 6.2.3 with grep in /nix/store/6mshwwzcsvpxxwn4hw9msm5ffwyy5wv3-libpqxx-6.2.3
- directory tree listing: https://gist.github.com/509fd3c73bc4d5401153a2eb6e21a804
libjpeg_turbo is consistently built on Darwin now. I have no way to
verify FreeBSD so if anyone can confirm libjpeg_turbo is still broken
please revert this!
ARM ABIs now have a float field. This is used as a fallback to lessen
our use of `platform.gcc.float`. I didn't know what the MIPs convention
is so I kept using `platform.gcc.float` in that case.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/alembic/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/7w88c8acygk8igrg5s6snyzhyf13mjbj-alembic-1.7.8-bin/bin/abcls -h’ got 0 exit code
- ran ‘/nix/store/7w88c8acygk8igrg5s6snyzhyf13mjbj-alembic-1.7.8-bin/bin/abcls --help’ got 0 exit code
- ran ‘/nix/store/7w88c8acygk8igrg5s6snyzhyf13mjbj-alembic-1.7.8-bin/bin/abcls help’ got 0 exit code
- ran ‘/nix/store/7w88c8acygk8igrg5s6snyzhyf13mjbj-alembic-1.7.8-bin/bin/abctree -h’ got 0 exit code
- ran ‘/nix/store/7w88c8acygk8igrg5s6snyzhyf13mjbj-alembic-1.7.8-bin/bin/abctree --help’ got 0 exit code
- ran ‘/nix/store/7w88c8acygk8igrg5s6snyzhyf13mjbj-alembic-1.7.8-bin/bin/abcconvert --help’ got 0 exit code
- found 1.7.8 with grep in /nix/store/7w88c8acygk8igrg5s6snyzhyf13mjbj-alembic-1.7.8-bin
- directory tree listing: https://gist.github.com/0d7ea213b28bd60d9e8cfe5bfbaa4363