Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
25d02e6
generate-expr-from-tarballs.pl: enable strictDeps
Artturin May 8, 2022
4e03320
grpc: 1.46.3 -> 1.47.0
marsam Jun 24, 2022
53898d0
python310Packages.grpcio-tools: 1.46.3 -> 1.47.0
marsam Jun 24, 2022
04bc892
python310Packages.grpcio-status: 1.46.3 -> 1.47.0
marsam Jun 24, 2022
67d19f4
phpPackage.mkExtension: makeOverridable
Artturin Jun 24, 2022
6bce3fc
curl: use finalAttrs
Artturin Jun 24, 2022
b69a552
po4a: add alias
dotlambda Jun 27, 2022
9112270
util-linux: 2.37.4 -> 2.38
dotlambda Jun 27, 2022
47b58ff
curl: put tests in tests.withCheck
Artturin Jun 24, 2022
5546339
shared-mime-info: 2021-21-03 -> 2.2
kilianar Jun 29, 2022
51619a5
libwebp: 1.2.1 -> 1.2.2
ajs124 Jun 29, 2022
1c80cbf
colord: use wrapGAppsHookNoGui
alyssais Jun 29, 2022
46339db
colord: make the daemon disablable
alyssais Jun 29, 2022
a720bc4
buildRubyGem: fix bundix cross
Artturin Jun 1, 2022
6b8ce2a
buildRubyGem: inherit libobjc from darwin
Artturin Jun 2, 2022
4ac46f5
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
7141ab0
release: add tests.packageTestsForChannelBlockers.curl.withCheck as a…
Artturin Jun 29, 2022
ce577b8
Merge pull request #175871 from Artturin/fixcross1
marsam Jul 2, 2022
6f8facd
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
8004d0e
rustc: 1.61.0 -> 1.62.0
alyssais Jun 30, 2022
8517eca
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
bcbc4d0
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
3d13fba
lsof: 4.94.0 -> 4.95.0
trofi Jul 2, 2022
dc5bdd6
Revert "stdenv: label the ephemeral coreutils-stage4 package"
Jul 2, 2022
d16c33e
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
e8200e2
Merge pull request #178906 from marsam/update-grpc
marsam Jul 3, 2022
335d99d
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
1b94ad9
Merge pull request #179961 from amjoseph-nixpkgs/pr/revert/label-core…
Mindavi Jul 3, 2022
9d5f237
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
73ead11
Merge pull request #179574 from helsinki-systems/upd/libwebp
ajs124 Jul 3, 2022
116e8e9
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
f7414e2
cmake/setup-hook.sh: Don't skip build-RPATH
knedlsepp Aug 20, 2021
d0d975c
Merge staging-next into staging
github-actions[bot] Jul 4, 2022
1ca04aa
treewide: Stop setting CMAKE_SKIP_BUILD_RPATH=OFF
knedlsepp Jan 5, 2021
bcd7045
treewide: Remove now-unneeded LD_LIBRARY_PATH in cmake derivations
knedlsepp Aug 20, 2021
cc670b5
Merge staging-next into staging
github-actions[bot] Jul 4, 2022
3086451
python3Packages.django_4: 4.0.5 -> 4.0.6
mweinelt Jul 4, 2022
8f3b6c8
python3Packages.django_3: 3.2.13 -> 3.2.14
mweinelt Jul 4, 2022
03ce3f8
Merge staging-next into staging
github-actions[bot] Jul 4, 2022
f235128
Merge staging-next into staging
github-actions[bot] Jul 4, 2022
d8e8062
python3Packages.pillow: 9.1.1 -> 9.2.0
risicle Jul 4, 2022
257a807
wayland: 1.20.0 -> 1.21.0
primeos Jul 4, 2022
826ab99
mesa: 22.1.1 -> 22.1.3
primeos Jul 4, 2022
eb9d6ed
curl: 7.83.1 -> 7.84.0
zowoq Jun 27, 2022
e7cd904
git: 2.36.1 -> 2.37.0
zowoq Jun 27, 2022
a2c59bc
Merge staging-next into staging
github-actions[bot] Jul 5, 2022
3173c3b
stdenv: start deprecating non-list cmakeFlags
Artturin Jul 4, 2022
732f1d8
treewide: convert string cmakeFlags to list of strings
Artturin Jul 4, 2022
65e65c2
Merge pull request #180105 from mweinelt/django
mweinelt Jul 5, 2022
4742aa3
Merge staging-next into staging
github-actions[bot] Jul 5, 2022
a53c70b
a52dec: fix build on aarch64-darwin
wegank Jul 5, 2022
a92cae9
Merge pull request #180194 from wegank/a52dec-darwin
trofi Jul 5, 2022
7b4e8ea
Merge pull request #179945 from trofi/update-lsof
trofi Jul 5, 2022
14ba820
Merge staging-next into staging
github-actions[bot] Jul 5, 2022
477504f
Merge pull request #180163 from risicle/ris-pillow-9.2.0
SuperSandro2000 Jul 5, 2022
0083a68
Revert "llvmPackages: do not include static archives when shared…"
sternenseemann Jun 17, 2022
5bb06a6
unzip: no-lchmod build flag
PedroHLC Jul 4, 2022
aacc2f6
openasar: remove unzip hotfix
PedroHLC Jul 4, 2022
d295294
Merge pull request #180067 from Artturin/depcmakestring
roberth Jul 5, 2022
f727b0b
python310Packages.typogrify: reduce dependencies
dotlambda Jul 4, 2022
4a077da
Merge staging-next into staging
github-actions[bot] Jul 5, 2022
cdaaedd
python3Packages.uvloop: unbreak on aarch64-darwin
kalekseev Jun 3, 2022
1dbf7b4
openssl_3: 3.0.4 -> 3.0.5
mweinelt Jul 5, 2022
82da6eb
openssl_1_1: 1.1.1p -> 1.1.1q
mweinelt Jul 5, 2022
03d159b
coreutils: enable /proc/uptime support when cross-compiling
lopsided98 Jul 4, 2022
a56995c
Merge staging-next into staging
github-actions[bot] Jul 6, 2022
7c1c19b
Merge staging-next into staging
github-actions[bot] Jul 6, 2022
4195ac3
libtool,libtool_1_5: don't fix libtool
alyssais Jul 3, 2022
5b47eb1
gcc, clang11: don't force -fcommon on GCC 10 or clang11
Gaelan Jan 20, 2021
5d3bef5
cairo: add patch to fix crashes on darwin
jiegec Jun 22, 2022
5a3eeeb
Merge staging-next into staging
github-actions[bot] Jul 6, 2022
ca2ca8b
stdenv: start deprecating non-list mesonFlags
Artturin Jul 6, 2022
c57fb11
treewide: convert string mesonFlags to list of strings
Artturin Jul 6, 2022
e4c4318
pkgs/data/icons: use stdenvNoCC where possible
kilianar Jul 2, 2022
fb6816e
Merge pull request #178869 from Artturin/curlies
Artturin Jul 6, 2022
6745a0d
Merge pull request #180281 from mweinelt/openssl
ajs124 Jul 6, 2022
fea398a
ffmpeg: 4.4.1 -> 4.4.2
ajs124 Jun 29, 2022
958f924
Merge pull request #180302 from Artturin/depmesonstring
Artturin Jul 6, 2022
012d5bb
Merge pull request #180173 from lopsided98/coreutils-uptime
dasJ Jul 6, 2022
796ee12
Merge pull request #179507 from helsinki-systems/fix/CVE-2022-1475
ajs124 Jul 6, 2022
aad55ac
Merge pull request #180168 from primeos/wayland
primeos Jul 6, 2022
43f9c19
Merge #110571: treewide: migrate to -fno-common
vcunat Jul 7, 2022
d910a8b
Merge branch 'staging-next' into staging
jtojnar Jul 7, 2022
629b931
Merge pull request #176153 from kalekseev/fix/python3Packages.uvloop
SuperSandro2000 Jul 7, 2022
cfebc8f
krb5: 1.19.3 -> 1.20
ajs124 Jul 7, 2022
9b45da9
Merge pull request #180172 from PedroHLC/unzip-no-lchmod
SuperSandro2000 Jul 7, 2022
a11073e
pipewire: 0.3.52 -> 0.3.53
jansol Jun 30, 2022
844f03a
pipewire: 0.3.53 -> 0.3.54
jansol Jul 7, 2022
2b7224c
krb5: preConfigure -> sourceRoot
ajs124 Jul 7, 2022
2736dc9
krb5: run hooks and replace subshells with make -C
ajs124 Jul 7, 2022
1c4ee22
Merge remote-tracking branch 'origin/staging-next' into staging
mweinelt Jul 7, 2022
8108584
krb5: remove file-wide with lib;
ajs124 Jul 7, 2022
02ada34
Merge staging-next into staging
github-actions[bot] Jul 7, 2022
e374cc2
Merge pull request #179736 from jansol/pipewire
jtojnar Jul 7, 2022
34c77f1
llvmPackages_14: 14.0.1 -> 14.0.6
ivan Jul 7, 2022
527a304
Merge staging-next into staging
github-actions[bot] Jul 8, 2022
2b26752
Merge staging-next into staging
github-actions[bot] Jul 8, 2022
bc121e1
Merge master into staging-next
github-actions[bot] Jul 8, 2022
b9940c5
Merge staging-next into staging
github-actions[bot] Jul 8, 2022
23db297
util-linux: 2.37.4 -> 2.38
ajs124 Jul 8, 2022
da5e9cc
Merge master into staging-next
github-actions[bot] Jul 8, 2022
819fe6a
Merge branch 'staging-next' into staging
jtojnar Jul 8, 2022
f67ae0f
Merge #180170: mesa: 22.1.1 -> 22.1.3 (into staging)
vcunat Jul 8, 2022
4e6cb9e
Merge pull request #172064 from Artturin/xorgstrictautogen
Artturin Jul 8, 2022
44fd04b
Merge master into staging-next
github-actions[bot] Jul 9, 2022
5c6643b
Merge staging-next into staging
github-actions[bot] Jul 9, 2022
f51c337
Merge master into staging-next
github-actions[bot] Jul 9, 2022
72c9a2a
Merge staging-next into staging
github-actions[bot] Jul 9, 2022
8886f79
python3Packages.uvloop: fix linux build
kalekseev Jul 9, 2022
e60e4e0
wayland-protocols: 1.25 -> 1.26
primeos Jul 9, 2022
e310b2d
libdrm: 2.4.111 -> 2.4.112
primeos Jul 9, 2022
cee8db2
Merge master into staging-next
github-actions[bot] Jul 9, 2022
449ceff
Merge staging-next into staging
github-actions[bot] Jul 9, 2022
8073a6f
darwin.xnu: fix build on aarch64-darwin (#179921)
jiegec Jul 9, 2022
31c6822
Merge master into staging-next
github-actions[bot] Jul 9, 2022
ed2918e
Merge staging-next into staging
github-actions[bot] Jul 9, 2022
5719e20
krb5: add pasthru.tests
ajs124 Jul 9, 2022
74df8b7
Merge pull request #180835 from primeos/wayland-protocols
primeos Jul 9, 2022
0c5f9be
Merge pull request #180837 from primeos/libdrm
primeos Jul 9, 2022
c5807f6
Merge master into staging-next
github-actions[bot] Jul 10, 2022
12be7ca
Merge staging-next into staging
github-actions[bot] Jul 10, 2022
e8c2480
Merge master into staging-next
github-actions[bot] Jul 10, 2022
4fa8151
Merge staging-next into staging
github-actions[bot] Jul 10, 2022
8a84ef7
hdf5: 1.12.1 -> 1.12.2
jiegec Jul 4, 2022
5a6250a
Merge master into staging-next
github-actions[bot] Jul 10, 2022
4bff9ba
Merge staging-next into staging
github-actions[bot] Jul 10, 2022
9c38130
Merge pull request #180722 from helsinki-systems/upd/util-linux
dasJ Jul 10, 2022
d2dcb87
Merge pull request #180531 from helsinki-systems/upd/krb5
dasJ Jul 10, 2022
cd2bab4
Merge pull request #180573 from ivan/llvm-14.0.6
trofi Jul 10, 2022
78d88cf
Merge master into staging-next
github-actions[bot] Jul 10, 2022
05798fe
Merge staging-next into staging
github-actions[bot] Jul 10, 2022
7925629
Merge master into staging-next
github-actions[bot] Jul 11, 2022
55e8459
Merge staging-next into staging
github-actions[bot] Jul 11, 2022
84403d9
Merge pull request #180083 from jiegec/hdf5
risicle Jul 11, 2022
828b6f9
Merge master into staging-next
github-actions[bot] Jul 11, 2022
f982047
Merge staging-next into staging
github-actions[bot] Jul 11, 2022
edde987
Merge master into staging-next
github-actions[bot] Jul 11, 2022
de1ff46
Merge staging-next into staging
github-actions[bot] Jul 11, 2022
e1e0d5d
Merge pull request #108496 from knedlsepp/cmake-rpath
ttuegel Jul 11, 2022
8a0854d
Merge #179682: pkgsMusl.colord: fix build (into staging)
vcunat Jul 11, 2022
09219df
Merge #179576: shared-mime-info: 2021-21-03 -> 2.2
vcunat Jul 11, 2022
6940e5b
Merge #179329: util-linux: 2.37.4 -> 2.38 (into staging)
vcunat Jul 11, 2022
23cc562
Merge #178551: cairo: add patch to fix crashes on darwin
vcunat Jul 11, 2022
4d5e00c
Merge #180825: python3Packages.uvloop: fix linux build
vcunat Jul 11, 2022
091129a
qt5.15: update to latest KDE patchsets
K900 Jul 9, 2022
d824f19
Merge branch 'staging' into staging-next
vcunat Jul 11, 2022
5f2ff17
Merge master into staging-next
github-actions[bot] Jul 11, 2022
2caa418
Merge master into staging-next
github-actions[bot] Jul 12, 2022
aef69f5
Merge master into staging-next
github-actions[bot] Jul 12, 2022
a05ef3b
Merge remote-tracking branch 'mine/qt5-refresh-patches' into staging-…
K900 Jul 12, 2022
ea8e40c
Revert "release: add tests.packageTestsForChannelBlockers.curl.withCh…
Artturin Jul 12, 2022
446763e
Merge master into staging-next
github-actions[bot] Jul 12, 2022
23ba30c
Merge pull request #181220 from Artturin/revertcurltestfornow
Artturin Jul 12, 2022
83b4764
treewide: fix fallout from 'cmake/setup-hook.sh: Don't skip build-RPATH'
Artturin Jul 12, 2022
9bea0f8
Merge pull request #181243 from Artturin/rpathfixes1
Artturin Jul 12, 2022
8169a7f
Merge branch 'master' into staging-next
vcunat Jul 13, 2022
dd4afc7
qt5.15: restore the version override
K900 Jul 13, 2022
9e8540a
Merge master into staging-next
github-actions[bot] Jul 13, 2022
00ec8bc
Merge master into staging-next
github-actions[bot] Jul 13, 2022
8e78cd1
Merge master into staging-next
github-actions[bot] Jul 14, 2022
4831214
Merge master into staging-next
github-actions[bot] Jul 14, 2022
58eb752
Merge master into staging-next
github-actions[bot] Jul 14, 2022
1a74c5d
Merge master into staging-next
github-actions[bot] Jul 14, 2022
a584822
treewide: fix fallout from 'cmake/setup-hook.sh: Don't skip build-RPATH'
Artturin Jul 14, 2022
39b1555
Merge master into staging-next
github-actions[bot] Jul 15, 2022
0285b6f
lsof: fix -fno-common builds on darwin
jiegec Jul 15, 2022
5946c56
Merge pull request #181553 from jiegec/lsof
K900 Jul 15, 2022
c569220
Merge master into staging-next
github-actions[bot] Jul 15, 2022
e093226
qt5: refresh darwin patches
K900 Jul 15, 2022
0405b0f
Merge pull request #181540 from Artturin/rpathfixes2
SuperSandro2000 Jul 15, 2022
a4622e8
Merge master into staging-next
github-actions[bot] Jul 15, 2022
9f53d5c
Merge master into staging-next
github-actions[bot] Jul 15, 2022
fa96a4f
Merge master into staging-next
github-actions[bot] Jul 16, 2022
47a4aab
Merge master into staging-next
github-actions[bot] Jul 16, 2022
98137b4
xorg.xorgserver: patch two CVEs
vcunat Jul 16, 2022
0879ac5
Merge branch 'master' into staging-next
vcunat Jul 16, 2022
8df1eb0
Merge master into staging-next
github-actions[bot] Jul 17, 2022
c11601c
Merge master into staging-next
github-actions[bot] Jul 17, 2022
f888751
Merge #181702: xorg.xorgserver: patch two CVEs
vcunat Jul 17, 2022
0ff0b14
treewide: more cmake rpath fixups
K900 Jul 17, 2022
250922f
Merge branch 'master' into staging-next
vcunat Jul 18, 2022
71fe747
Merge master into staging-next
github-actions[bot] Jul 18, 2022
83702a6
Merge master into staging-next
github-actions[bot] Jul 18, 2022
d64d75f
Merge master into staging-next
github-actions[bot] Jul 19, 2022
9cc2920
qt515: fix on darwin
veprbl Jul 19, 2022
305e8cb
Merge master into staging-next
github-actions[bot] Jul 19, 2022
9d26f1f
python3.pkgs.rdkit: fix cmake fallout
vcunat Jul 19, 2022
4cf7078
Merge pull request #182035 from veprbl/pr/qt515_base_fix
K900 Jul 19, 2022
cfe7848
Merge master into staging-next
github-actions[bot] Jul 19, 2022
6b8c65a
treewide: fix fallout from 'cmake/setup-hook.sh: Don't skip build-RPATH'
Artturin Jul 19, 2022
c698c07
Merge pull request #182097 from Artturin/rpathfixes3
Artturin Jul 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"adapter.auto-port-config": {
"mode": "dsp",
"monitor": false,
"control": false,
"position": "unknown"
}
}
Expand All @@ -109,6 +110,7 @@
"adapter.auto-port-config": {
"mode": "dsp",
"monitor": false,
"control": false,
"position": "unknown"
}
}
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/audio/audacity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ in stdenv.mkDerivation rec {
"-DDISABLE_DYNAMIC_LOADING_FFMPEG=ON"
"-Daudacity_conan_enabled=Off"
"-Daudacity_use_ffmpeg=loaded"

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

doCheck = false; # Test fails
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/audio/in-formant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ stdenv.mkDerivation rec {
cp in-formant $out/bin
'';

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=ON" ];

meta = with lib; {
description = "A real-time pitch and formant tracking software";
homepage = "https://github.com/in-formant/in-formant";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/audio/speech-denoiser/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [ lv2 rnnoise-nu ];

mesonFlags = ("--prefix=${placeholder "out"}/lib/lv2");
mesonFlags = [ "--prefix=${placeholder "out"}/lib/lv2" ];

postPatch = ''
substituteInPlace meson.build \
Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/audio/tenacity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ stdenv.mkDerivation rec {
util-linux
];

cmakeFlags = [
# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta = with lib; {
description = "Sound editor with graphical UI";
homepage = "https://tenacityaudio.org/";
Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/emulators/resim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@ stdenv.mkDerivation {
cp -v vc4emul/vc4emul $out/bin/vc4emul
'';

cmakeFlags = [
# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta.license = lib.licenses.mit;
}
1 change: 0 additions & 1 deletion pkgs/applications/gis/qgis/unwrapped-ltr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ in mkDerivation rec {
'';

cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DWITH_3D=True"
"-DWITH_PDAL=TRUE"
"-DPYQT5_SIP_DIR=${py.pkgs.pyqt5}/${py.pkgs.python.sitePackages}/PyQt5/bindings"
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/gis/qgis/unwrapped.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ in mkDerivation rec {
'';

cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DWITH_3D=True"
"-DWITH_PDAL=TRUE"
"-DPYQT5_SIP_DIR=${py.pkgs.pyqt5}/${py.pkgs.python.sitePackages}/PyQt5/bindings"
Expand Down
7 changes: 0 additions & 7 deletions pkgs/applications/graphics/paraview/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ in mkDerivation rec {
export QT_PLUGIN_PATH=${qtbase.bin}/${qtbase.qtPluginPrefix}
'';

# During build, binaries are called that rely on freshly built
# libraries. These reside in build/lib, and are not found by
# default.
preBuild = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/lib:$PWD/VTK/ThirdParty/vtkm/vtk-m/lib
'';

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DPARAVIEW_ENABLE_FFMPEG=ON"
Expand Down
4 changes: 0 additions & 4 deletions pkgs/applications/kde/dolphin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@ mkDerivation {
wayland qtwayland
];
outputs = [ "out" "dev" ];
# We need the RPATH for linking, because the `libkdeinit5_dolphin.so` links
# private against its dependencies and without the correct RPATH, these
# dependencies are not found.
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
}
7 changes: 0 additions & 7 deletions pkgs/applications/misc/audio/soxr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ stdenv.mkDerivation rec {

outputs = [ "out" "doc" ]; # headers are just two and very small

preConfigure =
if stdenv.isDarwin then ''
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}"`pwd`/build/src
'' else ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}"`pwd`/build/src
'';

nativeBuildInputs = [ cmake ];

meta = with lib; {
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/misc/edgetx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ mkDerivation rec {
"-DGTEST_ROOT=${gtest.src}/googletest"
"-DQT_TRANSLATIONS_DIR=${qttranslations}/translations"
"-DDFU_UTIL_PATH=${dfu-util}/bin/dfu-util"
# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta = with lib; {
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/misc/opentx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ mkDerivation rec {
# XXX I would prefer to include these here, though we will need to file a bug upstream to get that changed.
#"-DDFU_UTIL_PATH=${dfu-util}/bin/dfu-util"
#"-DAVRDUDE_PATH=${avrdude}/bin/avrdude"

# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta = with lib; {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{ lib, stdenv, fetchFromGitHub, nodejs, bash, nodePackages, unzip }:

let
# OpenAsar fails with default unzip, throwing "lchmod (file attributes) error: Operation not supported"
unzipFix =
if stdenv.isLinux then
unzip.overrideAttrs (oldAttrs: {
buildFlags = oldAttrs.buildFlags ++ [ "LOCAL_UNZIP=-DNO_LCHMOD" ];
})
else
unzip;
in
stdenv.mkDerivation rec {
pname = "openasar";
version = "unstable-2022-06-27";
Expand All @@ -24,7 +14,7 @@ stdenv.mkDerivation rec {
postPatch = ''
# Hardcode unzip path
substituteInPlace ./src/updater/moduleUpdater.js \
--replace \'unzip\' \'${unzipFix}/bin/unzip\'
--replace \'unzip\' \'${unzip}/bin/unzip\'
# Remove auto-update feature
echo "module.exports = async () => log('AsarUpdate', 'Removed');" > ./src/asarUpdate.js
'';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ mkDerivation rec {
cmakeFlags = [
"-DMINIZIP_INCLUDE_DIRS=${minizip2}/include"
"-DMINIZIP_LIBRARIES=minizip"

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

# The default install phase fails because the paths are somehow messed up in
Expand Down
4 changes: 0 additions & 4 deletions pkgs/applications/networking/sniffers/wireshark/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ in stdenv.mkDerivation {
sed -i -e '1i cmake_policy(SET CMP0025 NEW)' CMakeLists.txt
'';

preBuild = ''
export LD_LIBRARY_PATH="$PWD/run"
'';

postInstall = ''
# to remove "cycle detected in the references"
mkdir -p $dev/lib/wireshark
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/office/PageEdit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mkDerivation rec {

nativeBuildInputs = [ cmake qttranslations ];
propagatedBuildInputs = [ qtsvg qtwebengine ];
cmakeFlags = "-DINSTALL_BUNDLED_DICTS=0";
cmakeFlags = [ "-DINSTALL_BUNDLED_DICTS=0" ];

meta = with lib; {
description = "ePub XHTML Visual Editor";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/office/gnucash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ stdenv.mkDerivation rec {
test-xml-pricedb \
test-xml-transaction \
test-xml2-is-file

export LD_LIBRARY_PATH="$PWD/lib:$PWD/lib/gnucash:$PWD/lib/gnucash/test:$PWD/lib/gnucash/test/future"
'';

preFixup = ''
Expand Down
4 changes: 0 additions & 4 deletions pkgs/applications/radio/dsd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ stdenv.mkDerivation rec {
] ++ lib.optionals portaudioSupport [ portaudio ];

doCheck = true;
preCheck = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD
'';

meta = with lib; {
description = "Digital Speech Decoder";
Expand Down
6 changes: 5 additions & 1 deletion pkgs/applications/science/electronics/kicad/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ stdenv.mkDerivation rec {

makeFlags = optionals (debug) [ "CFLAGS+=-Og" "CFLAGS+=-ggdb" ];

cmakeFlags = optionals (withScripting) [
cmakeFlags = [
# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
]
++ optionals (withScripting) [
"-DKICAD_SCRIPTING_WXPYTHON=ON"
]
++ optionals (!withScripting) [
Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/science/logic/btor2tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ stdenv.mkDerivation rec {

outputs = [ "out" "dev" "lib" ];

cmakeFlags = [
# RPATH of binary /nix/store/.../bin/btorsim contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

meta = with lib; {
description = "A generic parser and tool package for the BTOR2 format";
homepage = "https://github.com/Boolector/btor2tools";
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/science/logic/monosat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ let
"-DBUILD_STATIC=OFF"
"-DJAVA=${boolToCmake includeJava}"
"-DGPL=${boolToCmake includeGplCode}"

# file RPATH_CHANGE could not write new RPATH
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];

postInstall = optionalString includeJava ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ stdenv.mkDerivation rec {
"-DCMAKE_DISABLE_FIND_PACKAGE_Mosek=ON"
"-DCMAKE_DISABLE_FIND_PACKAGE_TFLogger=ON"
"-DCMAKE_DISABLE_FIND_PACKAGE_ViennaCL=ON"
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DCMAKE_CTEST_ARGUMENTS='--exclude-regex;TrainedModelSerialization'" # Sporadic segfault
"-DENABLE_TESTING=${enableIf doCheck}"
"-DDISABLE_META_INTEGRATION_TESTS=ON"
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/science/misc/simgrid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ stdenv.mkDerivation rec {
"-Denable_compile_warnings=off"
"-Denable_compile_optimizations=${optionOnOff optimize}"
"-Denable_lto=${optionOnOff optimize}"

# RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
"-DCMAKE_SKIP_BUILD_RPATH=ON"
];
makeFlags = optional debug "VERBOSE=1";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ assert sendEmailSupport -> perlSupport;
assert svnSupport -> perlSupport;

let
version = "2.36.1";
version = "2.37.0";
svn = subversionClient.override { perlBindings = perlSupport; };
gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
in
Expand All @@ -39,7 +39,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
sha256 = "0w43a35mhc2qf2gjkxjlnkf2lq8g0snf34iy5gqx2678yq7llpa0";
sha256 = "sha256-n3+hcRvQDE7D3eL+REB9wT8S5HcrXjxypY20wHSVQR8=";
};

outputs = [ "out" ] ++ lib.optional withManual "doc";
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/video/avidemux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ stdenv.mkDerivation rec {
cd "$sourceRoot"
patchPhase

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${libXext}/lib"
${stdenv.shell} bootStrap.bash \
--with-core \
${if withQT then "--with-qt" else "--without-qt"} \
Expand Down
5 changes: 4 additions & 1 deletion pkgs/applications/video/ccextractor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ stdenv.mkDerivation rec {
++ lib.optional (!stdenv.isLinux) libiconv
++ lib.optionals enableOcr [ leptonica tesseract4 ffmpeg ];

cmakeFlags = lib.optionals enableOcr [ "-DWITH_OCR=on" "-DWITH_HARDSUBX=on" ];
cmakeFlags = [
# file RPATH_CHANGE could not write new RPATH:
"-DCMAKE_SKIP_BUILD_RPATH=ON"
] ++ lib.optionals enableOcr [ "-DWITH_OCR=on" "-DWITH_HARDSUBX=on" ];

postInstall = lib.optionalString enableOcr ''
wrapProgram "$out/bin/ccextractor" \
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/video/rtabmap/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
];

# Disable warnings that are irrelevant to us as packagers
cmakeFlags = "-Wno-dev";
cmakeFlags = [ "-Wno-dev" ];

# We run one of the executables we build while the build is
# still running (and patchelf hasn't been invoked) which means
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/arc-icon-theme/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk3, gnome, moka-icon-theme, gnome-icon-theme, hicolor-icon-theme }:
{ lib, stdenvNoCC, fetchFromGitHub, autoreconfHook, gtk3, gnome, moka-icon-theme, gnome-icon-theme, hicolor-icon-theme }:

stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "arc-icon-theme";
version = "2016-11-22";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/beauty-line-icon-theme/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchzip, breeze-icons, gtk3, gnome-icon-theme, hicolor-icon-theme, mint-x-icons, pantheon }:
{ lib, stdenvNoCC, fetchzip, breeze-icons, gtk3, gnome-icon-theme, hicolor-icon-theme, mint-x-icons, pantheon }:

stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "BeautyLine";
version = "0.0.1";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/bibata-cursors/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ lib
, stdenv
, stdenvNoCC
, fetchFromGitHub
, fetchurl
, clickgen
, unzip
}:

stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "bibata-cursors";
version = "1.1.2";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/bibata-cursors/extra.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ lib
, stdenv
, stdenvNoCC
, fetchFromGitHub
, fetchurl
, clickgen
, unzip
}:

stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "bibata-extra-cursors";
version = "1.0.1";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/bibata-cursors/translucent.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "bibata-cursors-translucent";
version = "1.1.1";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/capitaine-cursors/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, makeFontsConf
{ lib, stdenvNoCC, fetchFromGitHub, fetchpatch, makeFontsConf
, inkscape, xcursorgen, bc }:

stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "capitaine-cursors";
version = "4";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/comixcursors/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, bc, librsvg, xcursorgen }:
{ lib, stdenvNoCC, fetchFromGitLab, bc, librsvg, xcursorgen }:

let
dimensions = {
Expand All @@ -16,7 +16,7 @@ let
# meta.longDescription.)
map variantName product;
in
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "comixcursors";
version = "0.9.2";

Expand Down
Loading