From 4e207ba1df211c872fd5aab30f575578a8bfff03 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 28 Feb 2018 14:37:20 -0600 Subject: [PATCH 1/3] qt5: install headers on darwin also --- .../qt-5/5.10/restore-pc-files.patch | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/qt-5/5.10/restore-pc-files.patch b/pkgs/development/libraries/qt-5/5.10/restore-pc-files.patch index a2355549d4a..a012c3f583e 100644 --- a/pkgs/development/libraries/qt-5/5.10/restore-pc-files.patch +++ b/pkgs/development/libraries/qt-5/5.10/restore-pc-files.patch @@ -1,15 +1,27 @@ -Partially reverts . - -diff --git i/mkspecs/features/qt_module.prf w/mkspecs/features/qt_module.prf -index bb28af97..36bb6483 100644 ---- i/mkspecs/features/qt_module.prf -+++ w/mkspecs/features/qt_module.prf -@@ -245,7 +245,7 @@ load(qt_installs) +diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf +index e6a0d97f1a..b50ce77d51 100644 +--- a/mkspecs/features/qt_module.prf ++++ b/mkspecs/features/qt_module.prf +@@ -266,7 +266,7 @@ load(qt_installs) load(qt_targets) - + # this builds on top of qt_common -!internal_module:!lib_bundle:if(unix|mingw) { +!internal_module:if(unix|mingw) { CONFIG += create_pc QMAKE_PKGCONFIG_DESTDIR = pkgconfig - host_build: \ \ No newline at end of file + host_build: \ +diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf +index 62b88c6fe2..f302f1e202 100644 +--- a/mkspecs/features/qt_module_headers.prf ++++ b/mkspecs/features/qt_module_headers.prf +@@ -102,8 +102,7 @@ git_build: \ + else: \ + INC_PATH = $$MODULE_BASE_INDIR + include($$INC_PATH/include/$$MODULE_INCNAME/headers.pri, "", true) +-!lib_bundle: \ # Headers are embedded into the bundle, so don't install them separately. +- CONFIG += qt_install_headers ++CONFIG += qt_install_headers + + alien_syncqt: return() + From babb7be8b8617dc612c56b90d119c5958882af32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20G=C3=BCntner?= Date: Wed, 28 Feb 2018 16:03:41 +0100 Subject: [PATCH 2/3] gawk: 4.2.0 -> 4.2.1 --- pkgs/tools/text/gawk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/gawk/default.nix b/pkgs/tools/text/gawk/default.nix index 6783158ca77..c0c06813dc9 100644 --- a/pkgs/tools/text/gawk/default.nix +++ b/pkgs/tools/text/gawk/default.nix @@ -19,11 +19,11 @@ let inherit (stdenv.lib) optional; in stdenv.mkDerivation rec { - name = "gawk-4.2.0"; + name = "gawk-4.2.1"; src = fetchurl { url = "mirror://gnu/gawk/${name}.tar.xz"; - sha256 = "1wm9lqj77y7xz07zi0n187aqm8zavzxzpm1j53ahxz81q0qwvwyl"; + sha256 = "0lam2zf3n7ak4pig8w46lhx9hzx50kj2v2yj1616mm26wy2rf4fi"; }; # When we do build separate interactive version, it makes sense to always include man. From 1ad37a8c6e627f8650a7c9c41e38a358146db860 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 28 Feb 2018 19:22:29 -0500 Subject: [PATCH 3/3] texlive.bin: Fix duplicate patch definition --- pkgs/tools/typesetting/tex/texlive/bin.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 1dd7072f4c5..8318ad2afe9 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -161,7 +161,7 @@ inherit (core-big) metafont metapost luatex xetex; core-big = stdenv.mkDerivation { #TODO: upmendex name = "texlive-core-big.bin-${version}"; - inherit (common) src patches; + inherit (common) src; hardeningDisable = [ "format" ]; @@ -176,7 +176,7 @@ core-big = stdenv.mkDerivation { #TODO: upmendex # http://tex.stackexchange.com/questions/97999/when-to-use-luajittex-in-favour-of-luatex ]; - patches = [ ./luatex-gcc7.patch ]; + patches = common.patches ++ [ ./luatex-gcc7.patch ]; configureScript = ":";