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

Staging next #77739

Merged
merged 94 commits into from
Jan 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
af808bd
linux config: add support for xdp sockets and ebpf jit
Nov 11, 2019
f746d8e
linux-pam: set sconfigdir to /etc for usage at runtime
matthewbauer Dec 30, 2019
f5d270a
fldigi: 4.1.08 -> 4.1.08.51
r-ryantm Jan 6, 2020
06f9d0b
firejail: 0.9.60 -> 0.9.62
r-ryantm Jan 6, 2020
2cb7f3c
filezilla: 3.46.0 -> 3.46.3
r-ryantm Jan 6, 2020
d48b34b
flyway: 6.1.2 -> 6.1.3
r-ryantm Jan 6, 2020
7f8fb20
hdf5: 1.10.5 -> 1.10.6
r-ryantm Jan 6, 2020
2fa60a6
systemd: fix version after update to 243.4 (#76134)
dtzWill Jan 6, 2020
f17b4f2
srtp: 2.2.0 -> 2.3.0
r-ryantm Jan 6, 2020
10dd1c7
libedit: 20191025 -> 20191231
dtzWill Jan 3, 2020
2124eec
xorg.libXpm: 3.5.12 -> 3.5.13
dtzWill Jan 6, 2020
7743eba
Merge pull request #76718 from matthewbauer/fix-etc-sconfigdir
matthewbauer Jan 7, 2020
2eb2fcc
Merge pull request #77137 from dtzWill/fix/systemd-243.4-version
flokli Jan 7, 2020
7dcfa09
glib-networking: 2.62.2 -> 2.62.3 (#77063)
r-ryantm Jan 7, 2020
0c890f6
evolution-data-server: 3.34.2 -> 3.34.3 (#77058)
r-ryantm Jan 7, 2020
5732db0
Merge staging-next into staging
FRidh Jan 7, 2020
f346856
Merge pull request #77151 from dtzWill/update/libxpm-3.5.13
dtzWill Jan 7, 2020
effc532
Merge pull request #77148 from dtzWill/update/libedit-20191231
dtzWill Jan 7, 2020
8b7d03e
Merge pull request #77044 from r-ryantm/auto-update/firejail
7c6f434c Jan 8, 2020
5194608
Merge pull request #77056 from r-ryantm/auto-update/flyway
marsam Jan 8, 2020
754d02d
gdk-pixbuf: upstream patch to fix the nixos test
vcunat Jan 8, 2020
2d277c9
Merge pull request #77075 from r-ryantm/auto-update/hdf5
markuskowa Jan 8, 2020
e8cfcf7
Merge pull request #77038 from r-ryantm/auto-update/fldigi
markuskowa Jan 9, 2020
55e980e
pythonPackages.pycodestyle: improve tests
kamadorueda Jan 10, 2020
a629863
mesa: 19.3.1 -> 19.3.2
adisbladis Jan 10, 2020
780fb56
libselinux: fix build
Ma27 Jan 10, 2020
5dfd3c4
python3.pkgs.libselinux: doesn't build w/python38
Ma27 Jan 10, 2020
263bc67
Merge staging-next into staging
FRidh Jan 11, 2020
961d0cf
openssl_1_0_2: 1.0.2t -> 1.0.2u (low-severity security)
vcunat Jan 11, 2020
47681d7
rust: include the rustc-dev component
symphorien Jan 11, 2020
569f052
glibc: remove TODO that is now done
thefloweringash Jan 6, 2020
5101476
glibc: fix cross compilation build failure
thefloweringash Jan 6, 2020
5e51524
Merge pull request #76972 from thefloweringash/cross-glibc-warnings
flokli Jan 11, 2020
cd827f2
Revert "glibc: fix cross compilation build failure"
flokli Jan 11, 2020
22a8e7f
glibc: fix cross compilation build failure (again)
thefloweringash Jan 6, 2020
b5a4510
glibc: backport fix for out of bounds access in IBM-1390 converter
thefloweringash Jan 11, 2020
b324524
Merge staging-next into staging
FRidh Jan 12, 2020
05d4cdf
Merge pull request #77529 from symphorien/rls
LnL7 Jan 12, 2020
2d4f451
Merge pull request #77053 from r-ryantm/auto-update/filezilla
nh2 Jan 12, 2020
0f94b54
libselinux: Fix cross-compilation with Python 3
samueldr Jan 13, 2020
bc4921a
Merge pull request #73328 from magenbluten/af_xdp
Lassulus Jan 13, 2020
d08c6c7
Merge pull request #77525 from thefloweringash/fixup-backport
flokli Jan 13, 2020
c6fed21
Merge pull request #77596 from samueldr/fix/cross/libselinux-python3
Mic92 Jan 13, 2020
c7d457c
darwin.xnu: python2 -> python3
LnL7 Jan 12, 2020
96a0cad
libxml2: python2 -> python3
LnL7 Jan 12, 2020
587c66c
ninja: python2 -> python3
LnL7 Jan 12, 2020
453e009
darwin.CF: python2 -> python3
LnL7 Jan 12, 2020
d0a90de
llvmPackages: python2 -> python3
LnL7 Jan 12, 2020
73db5d8
darwin.apple_sdk: python2 -> python3
LnL7 Jan 13, 2020
6328518
stdenv: bootstrap darwin with python3
LnL7 Jan 12, 2020
da6bc4b
darwin.libtapi: python2 -> python3
LnL7 Jan 13, 2020
c05efed
darwin.iproute2mac: explicitly use python2
LnL7 Jan 13, 2020
5b37141
gtk3: 3.24.12 -> 3.24.13
hedning Jan 13, 2020
863fc65
libxml2: don't propagate Python bindings
alyssais Jan 6, 2020
0ec87b8
networkmanager: 1.20.8 -> 1.22.4
worldofpeace Dec 23, 2019
4b33222
modemmanager: 1.10.6 -> 1.12.2
worldofpeace Dec 23, 2019
55fc8e1
Merge pull request #77621 from hedning/gtk3-3.24.13
dtzWill Jan 13, 2020
991a7e0
pcalc: build with bison3
lblasc Jan 6, 2020
4a3a832
filebench: build with bison3
lblasc Jan 6, 2020
7e90db8
stp: build with bison3
lblasc Jan 6, 2020
8644679
qt512: build with bison3
lblasc Jan 6, 2020
7312758
gstreamer legacy: build with bison3
lblasc Jan 6, 2020
83069e1
maxscale: build with bison3
lblasc Jan 6, 2020
e2717ad
libgnomeprint: build with bison3
lblasc Jan 6, 2020
81d7784
qtwebkit: build with bison3
lblasc Jan 6, 2020
47ace9a
phantomjs2: build with bison3
lblasc Jan 6, 2020
bff748b
ike: build with bison3
lblasc Jan 6, 2020
95c198a
bison2: remove
lblasc Jan 6, 2020
eb90191
Merge pull request #77051 from lblasc/bison2
jtojnar Jan 13, 2020
c17b04c
python3.pkgs.python-dbusmock: 0.18.3 -> 0.19
worldofpeace Jan 13, 2020
a1d7308
git: 2.24.1 -> 2.25.0
NeQuissimus Jan 14, 2020
748c42b
Merge pull request #77142 from r-ryantm/auto-update/libsrtp
nh2 Jan 14, 2020
470037f
Merge pull request #76205 from worldofpeace/network-manager/update
worldofpeace Jan 14, 2020
0e7417e
btrfs-progs: 5.4 -> 5.4.1
r-ryantm Jan 15, 2020
c1d011a
Merge pull request #77721 from r-ryantm/auto-update/btrfs-progs
7c6f434c Jan 15, 2020
7119d07
Merge master into staging-next
FRidh Jan 15, 2020
2a88c3c
Merge staging-next into staging
FRidh Jan 15, 2020
bc18cc7
Merge pull request #77610 from LnL7/darwin-stdenv-python3
FRidh Jan 15, 2020
61f12eb
ethtool: 5.3 -> 5.4
dtzWill Jan 11, 2020
cb007e6
stdenv: make symlinks that refer to the same output relative
andir Nov 25, 2019
3cccbaa
curl: 7.67.0 -> 7.68.0
zowoq Jan 8, 2020
478fd05
pcsclite: 1.8.25 -> 1.8.26
r-ryantm Jan 7, 2020
155fad6
libarchive: 3.4.0 -> 3.4.1
r-ryantm Jan 6, 2020
320a4c1
coreutils: Fix cross compilation for Android
bkchr Dec 30, 2019
996e11d
bash: enable PGRP_PIPE deterministically #77055
raboof Jan 7, 2020
2e5051e
x264: fix cross compilation
danielfullmer Jan 4, 2020
3cd8ce3
treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
andersk Jan 2, 2020
c5f3c18
Merge staging into staging-next
FRidh Jan 15, 2020
8842125
gtk3: fix missing header file on darwin
hedning Jan 17, 2020
e5fa0ab
Merge pull request #77917 from hedning/fix-gtk-3.24.13-darwin
Mic92 Jan 17, 2020
bcd8c6b
Merge master into staging-next
FRidh Jan 17, 2020
8df4338
rustPackages: make rustc-dev optional
LnL7 Jan 18, 2020
778f317
Merge pull request #77972 from LnL7/enable-rustc-dev
LnL7 Jan 20, 2020
dce0ca2
Merge master into staging-next
FRidh Jan 28, 2020
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
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/paraview/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mkDerivation rec {
# libraries. These reside in build/lib, and are not found by
# default.
preBuild = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib:$PWD/VTK/ThirdParty/vtkm/vtk-m/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/lib:$PWD/VTK/ThirdParty/vtkm/vtk-m/lib
'';

enableParallelBuilding = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/audio/soxr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ 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:"`pwd`/build/src
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}"`pwd`/build/src
'' else ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:"`pwd`/build/src
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}"`pwd`/build/src
'';

nativeBuildInputs = [ cmake ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/ftp/filezilla/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

stdenv.mkDerivation rec {
pname = "filezilla";
version = "3.46.0";
version = "3.46.3";

src = fetchurl {
url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2";
sha256 = "0v7656p7b6w88a96wj8058b13yxbwi186l092i9whrisngnv2pnf";
sha256 = "15bkg9qs07h4pzkxba1gymp8f264dk0zrzd9brx48fcwm7qbzigi";
};

configureFlags = [
Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/networking/ike/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake flex bison makeWrapper ];
buildInputs = [ openssl libedit qt4 nettools iproute ];

postPatch = ''
# fix build with bison3
sed -i 's/define "parser_class_name"/define parser_class_name/' source/iked/conf.parse.yy
'';

configurePhase = ''
mkdir -p $out/{bin,sbin,lib}
cmake -DQTGUI=YES -DETCDIR=$out/etc -DLIBDIR=$out/lib -DSBINDIR=$out/sbin -DBINDIR=$out/bin \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ stdenv.mkDerivation rec {

preConfigure = ''
# autotools check tries to dlopen libpython as a requirement for the python plugin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${python}/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${python}/lib
'';

postPatch = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/office/gnucash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
# 80 - test-gnc-module-scm-module (Failed)
# 81 - test-gnc-module-scm-multi (Failed)
preCheck = ''
export LD_LIBRARY_PATH=$PWD/lib:$PWD/lib/gnucash:$PWD/lib/gnucash/test:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PWD/lib:$PWD/lib/gnucash:$PWD/lib/gnucash/test''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
export NIX_CFLAGS_LINK="-lgtest -lgtest_main"
'';
doCheck = false;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/radio/fldigi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
libsamplerate, libpulseaudio, libXinerama, gettext, pkgconfig, alsaLib }:

stdenv.mkDerivation rec {
version = "4.1.08";
version = "4.1.08.51";
pname = "fldigi";

src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "0jbk03w0wfvd9lxh1wdazim9gwxm1lkhc5xzi3h8ag7h9zx58jq0";
sha256 = "0wki9d19q8rkjxcd3dz3k0a395gmbnji4fxlhw6dpcyqpfw88fcs";
};

buildInputs = [ libXinerama gettext hamlib fltk13 libjpeg libpng portaudio
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/science/math/pcalc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, bison2, flex }:
{ stdenv, fetchgit, bison, flex }:

with stdenv.lib;

Expand All @@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};

makeFlags = [ "DESTDIR= BINDIR=$(out)/bin" ];
buildInputs = [ bison2 flex ];
buildInputs = [ bison flex ];

meta = {
homepage = http://pcalc.sourceforge.net/;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/math/sage/sage-env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ writeTextFile rec {
export SAGE_EXTCODE='${sagelib.src}/src/ext'

# for find_library
export DYLD_LIBRARY_PATH="${lib.makeLibraryPath [stdenv.cc.libc singular]}:$DYLD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="${lib.makeLibraryPath [stdenv.cc.libc singular]}''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH"
'';
} // {
lib = sagelib; # equivalent of `passthru`, which `writeTextFile` doesn't support
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ assert sendEmailSupport -> perlSupport;
assert svnSupport -> perlSupport;

let
version = "2.24.1";
version = "2.25.0";
svn = subversionClient.override { perlBindings = perlSupport; };

gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
Expand All @@ -33,7 +33,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
sha256 = "0ql5z31vgl7b785gwrf00m129mg7zi9pa65n12ij3mpxx3f28gvj";
sha256 = "1l58v42aazj0x9276gk8r9mwyl9pgp9w99aakz4xfhzv7wd2jq60";
};

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

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${libXext}/lib"
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
2 changes: 1 addition & 1 deletion pkgs/build-support/build-fhs-userenv/env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ let
etcProfile = writeText "profile" ''
export PS1='${name}-chrootenv:\u@\h:\w\$ '
export LOCALE_ARCHIVE='/usr/lib/locale/locale-archive'
export LD_LIBRARY_PATH="/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH"
export TZDIR='/etc/zoneinfo'

Expand Down
28 changes: 28 additions & 0 deletions pkgs/build-support/setup-hooks/make-symlinks-relative.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
fixupOutputHooks+=(_makeSymlinksRelative)

# For every symlink in $output that refers to another file in $output
# ensure that the symlink is relative. This removes references to the output
# has from the resulting store paths and thus the NAR files.
_makeSymlinksRelative() {
local symlinkTarget

if [ -n "${dontRewriteSymlinks-}" ]; then
return 0
fi

while IFS= read -r -d $'\0' f; do
symlinkTarget=$(readlink "$f")
if [[ "$symlinkTarget"/ != "$prefix"/* ]]; then
# skip this symlink as it doesn't point to $prefix
continue
fi

if [ ! -e "$symlinkTarget" ]; then
echo "the symlink $f is broken, it points to $symlinkTarget (which is missing)"
fi

echo "rewriting symlink $f to be relative to $prefix"
ln -snrf "$symlinkTarget" "$f"

done < <(find $prefix -type l -print0)
}
4 changes: 2 additions & 2 deletions pkgs/desktops/deepin/dde-file-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ mkDerivation rec {
];

preBuild = ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${zlib}/lib";
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${libX11}/lib";
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${zlib}/lib";
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${libX11}/lib";
'';

dontWrapQtApps = true;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/desktops/enlightenment/efl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ stdenv.mkDerivation rec {

preConfigure = ''
# allow ecore_con to find libcurl.so, which is a runtime dependency (it is dlopened)
export LD_LIBRARY_PATH="${curl.out}/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="${curl.out}/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"

source "$setupHook"
'';
Expand Down
15 changes: 11 additions & 4 deletions pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gtk2, gettext, libxml2, intltool, libart_lgpl
, libgnomecups, bison2, flex }:
{ stdenv, fetchurl, fetchpatch, pkgconfig, gtk2, gettext, libxml2, intltool, libart_lgpl
, libgnomecups, bison, flex }:

stdenv.mkDerivation rec {
name = "libgnomeprint-2.18.8";
Expand All @@ -9,10 +9,17 @@ stdenv.mkDerivation rec {
sha256 = "1034ec8651051f84d2424e7a1da61c530422cc20ce5b2d9e107e1e46778d9691";
};

patches = [ ./bug653388.patch ];
patches = [
./bug653388.patch
# Fix compatibility with bison 3
(fetchpatch {
url = "https://github.com/pld-linux/libgnomeprint/raw/54c0f9c3675b86c53f6d77a5bc526ce9ef0e38cd/bison3.patch";
sha256 = "1sp04jbv34i1gcwf377hhmwdsmqzig70dd06rjz1isb6zwh4y01l";
})
];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 gettext intltool libart_lgpl libgnomecups bison2 flex ];
buildInputs = [ gtk2 gettext intltool libart_lgpl libgnomecups bison flex ];

propagatedBuildInputs = [ libxml2 ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

stdenv.mkDerivation rec {
pname = "evolution-data-server";
version = "3.34.2";
version = "3.34.3";

outputs = [ "out" "dev" ];

src = fetchurl {
url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y";
sha256 = "1af3f218i5h3df81xkjdij0n9knsw355fsmhzdrfh1bflxfarpyj";
};

patches = [
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/halide/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ in llvmPackages.stdenv.mkDerivation {
# To handle the lack of 'local' RPATH; required, as they call one of
# their built binaries requiring their libs, in the build process.
preBuild = ''
export LD_LIBRARY_PATH="$(pwd)/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$(pwd)/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
'';

enableParallelBuilding = true;
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/compilers/llvm/4/clang/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetch, cmake, libxml2, llvm, version, release_version, clang-tools-extra_src, python
{ stdenv, fetch, cmake, libxml2, llvm, version, release_version, clang-tools-extra_src, python3
, fixDarwinDylibNames
, enableManpages ? false
}:
Expand All @@ -19,8 +19,8 @@ let
mv clang-tools-extra-* $sourceRoot/tools/extra
'';

nativeBuildInputs = [ cmake python ]
++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
nativeBuildInputs = [ cmake python3 ]
++ stdenv.lib.optional enableManpages python3.pkgs.sphinx;

buildInputs = [ libxml2 llvm ]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
Expand Down
10 changes: 5 additions & 5 deletions pkgs/development/compilers/llvm/4/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lowPrio, newScope, pkgs, stdenv, cmake, libstdcxxHook
, libxml2, python, isl, fetchurl, overrideCC, wrapCCWith
, libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith
, buildLlvmTools # tools, but from the previous stage, for cross
, targetLlvmLibraries # libraries, but from the next stage, for cross
}:
Expand All @@ -17,7 +17,7 @@ let
clang-tools-extra_src = fetch "clang-tools-extra" "1dhmp7ccfpr42bmvk3kp37ngjpf3a9m5d4kkpsn7d00hzi7fdl9m";

tools = stdenv.lib.makeExtensible (tools: let
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch; });
in {

llvm = callPackage ./llvm.nix {
Expand All @@ -29,12 +29,12 @@ let

llvm-manpages = lowPrio (tools.llvm.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
python3 = pkgs.python3; # don't use python-boot
});

clang-manpages = lowPrio (tools.clang-unwrapped.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
python3 = pkgs.python3; # don't use python-boot
});

libclang = tools.clang-unwrapped.lib;
Expand All @@ -57,7 +57,7 @@ let
});

libraries = stdenv.lib.makeExtensible (libraries: let
callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch; });
in {

stdenv = overrideCC stdenv buildLlvmTools.clang;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/4/libc++/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetch, cmake, python, libcxxabi, fixDarwinDylibNames, version }:
{ lib, stdenv, fetch, cmake, python3, libcxxabi, fixDarwinDylibNames, version }:

stdenv.mkDerivation {
pname = "libc++";
Expand Down Expand Up @@ -31,7 +31,7 @@ stdenv.mkDerivation {
'' + lib.optionalString stdenv.hostPlatform.isMusl ''
patchShebangs utils/cat_files.py
'';
nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl python;
nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl python3;

buildInputs = [ libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/4/lldb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
, libxml2
, llvm
, clang-unwrapped
, python
, python3
, version
, darwin
}:
Expand All @@ -31,7 +31,7 @@ stdenv.mkDerivation {
cmake/modules/LLDBStandalone.cmake
'';

nativeBuildInputs = [ cmake python which swig ];
nativeBuildInputs = [ cmake python3 which swig ];
buildInputs = [ ncurses zlib libedit libxml2 llvm ]
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ];

Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/compilers/llvm/4/llvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, fetch
, fetchpatch
, cmake
, python
, python3
, libffi
, libbfd
, libxml2
Expand Down Expand Up @@ -40,8 +40,8 @@ stdenv.mkDerivation ({
outputs = [ "out" ]
++ stdenv.lib.optional enableSharedLibraries "lib";

nativeBuildInputs = [ cmake python ]
++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
nativeBuildInputs = [ cmake python3 ]
++ stdenv.lib.optional enableManpages python3.pkgs.sphinx;

buildInputs = [ libxml2 libffi ];

Expand Down Expand Up @@ -143,7 +143,7 @@ stdenv.mkDerivation ({
'';

preCheck = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/lib
'';

postInstall = stdenv.lib.optionalString enableSharedLibraries ''
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/compilers/llvm/5/clang/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python
{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python3
, fixDarwinDylibNames
, enableManpages ? false
}:
Expand All @@ -19,8 +19,8 @@ let
mv clang-tools-extra-* $sourceRoot/tools/extra
'';

nativeBuildInputs = [ cmake python ]
++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
nativeBuildInputs = [ cmake python3 ]
++ stdenv.lib.optional enableManpages python3.pkgs.sphinx;

buildInputs = [ libxml2 llvm ]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/5/compiler-rt.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, version, fetch, cmake, python, llvm, libcxxabi }:
{ stdenv, version, fetch, cmake, python3, llvm, libcxxabi }:
with stdenv.lib;
stdenv.mkDerivation {
pname = "compiler-rt";
inherit version;
src = fetch "compiler-rt" "0ipd4jdxpczgr2w6lzrabymz6dhzj69ywmyybjjc1q397zgrvziy";

nativeBuildInputs = [ cmake python llvm ];
nativeBuildInputs = [ cmake python3 llvm ];
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin libcxxabi;

configureFlags = [
Expand Down
Loading