Since at least d7bddc27b2, we've had a
situation where one should depend on:
- `stdenv.cc.bintools`: for executables at build time
- `libbfd` or `libiberty`: for those libraries
- `targetPackages.cc.bintools`: for exectuables at *run* time
- `binutils`: only for specifically GNU Binutils's executables,
regardless of the host platform, at run time.
and that commit cleaned up this usage to reflect that. This PR flips the
switch so that:
- `binutils` is indeed unconditionally GNU Binutils
- `binutils-raw`, which previously served that role, is gone.
so that the correct usage will be enforced going forward and everything
is simple.
N.B. In a few cases `binutils-unwrapped` (which before and now was
unconditionally actual GNU binutils), rather than `binutils` was used to
replace old `binutils-raw` as it is friendly towards some cross
compilation usage by avoiding a reference to the next bootstrapping
change.
service-runner had a backwards incompatible update, and parsoid 0.9.0
doesn't work with current stable MediaWiki. Instead use as a source
a repository with 0.8.0 and pinned service-runner version.
Don't rely on questionable impact of DT_RPATH on dlopen().
This is a bit of a messy subject, but probably the clearest
reference to motivate *not* relying on how dlopen() behaves
in the presence of RPATH or RUNPATH is the following:
https://sourceware.org/ml/libc-hacker/2002-11/msg00011.html
FWIW the dlopen() manpage only mentions the the RPATH
and RUNPATH in the "executable file for the calling program";
no mention of the executable files for libraries--
this has been brought to the attention of the relevant
parties and AFAICT nothing has been done.
The best reference for glibc behavior is
apparently to ... "try it and see".
Luckily a generous soul did exactly that
and reported the findings:
https://www.spinics.net/lists/linux-man/msg02291.html
Qt wrote on the subject a bit when they were bit by this,
linking to the above articles (directly or indirectly).
See:
http://blog.qt.io/blog/2011/10/28/rpath-and-runpath/
--------
Since we know the path of libGL at build-time for libepoxy,
there's a simple solution we can use to avoid all of this:
simply teach libepoxy to explicitly look in the libGL path.
This commit patches libepoxy to accomplish this,
looking to "LIBGL_PATH" as a fallback if it cannot find
the libraries otherwise.
---------
This fixes use of libepoxy w/musl on NixOS!
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/woeusb/versions.
These checks were done:
- built on NixOS
- ran `/nix/store/8j0k3dnx7vc5wcmayficjdsk02ix55va-woeusb-3.1.5/bin/woeusb -h` got 0 exit code
- ran `/nix/store/8j0k3dnx7vc5wcmayficjdsk02ix55va-woeusb-3.1.5/bin/woeusb --help` got 0 exit code
- ran `/nix/store/8j0k3dnx7vc5wcmayficjdsk02ix55va-woeusb-3.1.5/bin/woeusb -V` and found version 3.1.5
- ran `/nix/store/8j0k3dnx7vc5wcmayficjdsk02ix55va-woeusb-3.1.5/bin/woeusb --version` and found version 3.1.5
- ran `/nix/store/8j0k3dnx7vc5wcmayficjdsk02ix55va-woeusb-3.1.5/bin/woeusb -h` and found version 3.1.5
- ran `/nix/store/8j0k3dnx7vc5wcmayficjdsk02ix55va-woeusb-3.1.5/bin/woeusb --help` and found version 3.1.5
- found 3.1.5 with grep in /nix/store/8j0k3dnx7vc5wcmayficjdsk02ix55va-woeusb-3.1.5
- directory tree listing: https://gist.github.com/a1e026683073657b8127fe93d50cdb18
[Bjørn: change commit prefix from "winusb" to "woeusb".]
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/praat/versions.
These checks were done:
- built on NixOS
- ran `/nix/store/ip7a4lqz98n8dx635131vi3pijyv3kci-praat-6.0.38/bin/praat --help` got 0 exit code
- ran `/nix/store/ip7a4lqz98n8dx635131vi3pijyv3kci-praat-6.0.38/bin/praat --version` and found version 6.0.38
- found 6.0.38 with grep in /nix/store/ip7a4lqz98n8dx635131vi3pijyv3kci-praat-6.0.38
- directory tree listing: https://gist.github.com/3cbb0648e4b084a658f6dd5b7c8ed3a4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/veracrypt/versions.
These checks were done:
- built on NixOS
- ran `/nix/store/qx2d8v3a4gx3rp8wpcmw0av3vn0dchkw-veracrypt-1.22/bin/veracrypt -h` got 0 exit code
- ran `/nix/store/qx2d8v3a4gx3rp8wpcmw0av3vn0dchkw-veracrypt-1.22/bin/veracrypt --help` got 0 exit code
- ran `/nix/store/qx2d8v3a4gx3rp8wpcmw0av3vn0dchkw-veracrypt-1.22/bin/veracrypt --version` and found version 1.22
- found 1.22 with grep in /nix/store/qx2d8v3a4gx3rp8wpcmw0av3vn0dchkw-veracrypt-1.22
- directory tree listing: https://gist.github.com/8690e0df710362cb464457218630b6ee
- Add `imageName` and `imageBaseName` options similar to the `isoName`
and `isoBaseName` options
- Make the filename of the iso match what iso-image.nix does
- Generate a nix-support/hydra-build-products like iso-image.nix does