nixpkgs/pkgs/development/tools/build-managers
Jan Tojnar de910a040b
meson: fix rpath fixup
In common distributions, RPATH is only needed for internal libraries so
meson removes everything else. With Nix, the locations of libraries
are not as predictable, therefore we need to keep them in the RPATH. [1]

Previously we have just kept the RPATH produced by the linker, patching
meson not to remove it. This deprived us of potentially replacing it
with install_rpath provided by project so we had to re-add it manually,
and also introduced a vulnerability of keeping build paths in RPATH.

This commit restores the clean-up but modifies it so the items starting
with /nix/store are retained.

This should be relatively safe since the store is immutable, however,
there might be some unwanted retainment of build_rpath [2] if it contains
paths from Nix store.

[1]: https://github.com/NixOS/nixpkgs/issues/31222#issuecomment-365811634
[2]: http://mesonbuild.com/Release-notes-for-0-42-0.html#added-build_rpath-keyword-argument
2018-03-22 07:30:58 +01:00
..
apache-ant ant: 1.9.6 -> 1.10.2 2018-03-17 03:53:31 -05:00
apache-maven
arpa2cm arpa2cm: init -> 0.5 2018-02-12 19:43:01 +01:00
bam
bazel bazel_0_4: mark linux only 2018-03-08 22:19:39 +01:00
bear fix LD_PRELOAD error for bear 2018-03-01 18:14:24 +01:00
boot
buck
buildbot buildbot: 0.9.15.post1 -> 1.0.0 2018-02-16 18:27:11 -05:00
cask cask: fix evaluation error 2018-02-16 01:18:35 +01:00
cmake cmake-2.8: supports darwin 2018-03-19 05:42:15 -05:00
colormake
conan conan: Locally pin deps, enable tests 2018-03-15 13:48:58 +01:00
doit doit: 0.30.3 -> 0.31.0 2018-03-08 02:26:41 -08:00
drake
dub dub: 1.7.2 -> 1.8.0 2018-03-03 18:47:48 +01:00
gn
gnumake riscv: Use gnumake42HEAD. 2018-02-19 09:36:53 -05:00
gradle gradle: 4.5 -> 4.6 2018-02-28 13:05:15 -05:00
gup
icmake icmake: 9.02.06 -> 9.02.07 2018-03-18 20:44:29 +01:00
jam
kati
leiningen leiningen: 2.7.1 -> 2.8.1 2018-01-18 18:55:26 +01:00
meson meson: fix rpath fixup 2018-03-22 07:30:58 +01:00
mk
nant
ninja
pants treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
qbs
rake
rebar
rebar3
redo
redo-sh redo-sh: 1.2.6 -> 2.0.3 2018-03-09 10:23:15 -08:00
remake
sbt sbt: 1.1.0 -> 1.1.1 2018-02-25 12:48:06 -05:00
sbt-extras sbt-extras: 77686b3 -> 3c8fcad 2018-01-09 19:21:28 -05:00
scons
shards shards: 0.7.1 -> 0.7.2 2017-12-25 00:53:34 +08:00
tup
waf waf: 1.9.0 -> 2.0.4 2018-02-28 20:32:55 +00:00