From 1e5190602509ef2a944b4add238ed2305352aeaa Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sun, 27 May 2018 13:29:53 -0400 Subject: [PATCH 01/19] busybox: 1.28.3 -> 1.28.4 --- pkgs/os-specific/linux/busybox/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/busybox/default.nix b/pkgs/os-specific/linux/busybox/default.nix index ab75d38ba716..e8972263f38d 100644 --- a/pkgs/os-specific/linux/busybox/default.nix +++ b/pkgs/os-specific/linux/busybox/default.nix @@ -33,14 +33,14 @@ let in stdenv.mkDerivation rec { - name = "busybox-1.28.3"; + name = "busybox-1.28.4"; # Note to whoever is updating busybox: please verify that: # nix-build pkgs/stdenv/linux/make-bootstrap-tools.nix -A test # still builds after the update. src = fetchurl { url = "http://busybox.net/downloads/${name}.tar.bz2"; - sha256 = "0via6faqj9xcyi8r39r4n0wxlk8r2292yk0slzwrdri37w1j43dd"; + sha256 = "0smfn8hlds6nx8war62kyaykg3n7mxbjjfcpsgz84znwk4v4mhg3"; }; hardeningDisable = [ "format" ] ++ lib.optionals enableStatic [ "fortify" ]; From c83a53098599c49ec57823bf655ce8b45f6aea10 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 29 May 2018 14:20:43 +0000 Subject: [PATCH 02/19] sqlite: do not contaminate dependent libtool-based projects with sqlite dependencies sqlite is built as a shared library, but libtool nevertheless adds -lz into the link commands of the dependent projects, which fail to link if they do not directly depend on libz. Fix this by clearing dependency_libs in libsqlite3.la. --- pkgs/development/libraries/sqlite/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/sqlite/default.nix b/pkgs/development/libraries/sqlite/default.nix index eaeafa741297..03f2f5c7199e 100644 --- a/pkgs/development/libraries/sqlite/default.nix +++ b/pkgs/development/libraries/sqlite/default.nix @@ -66,6 +66,11 @@ stdenv.mkDerivation rec { echo "" ''; + postInstall = '' + # Do not contaminate dependent libtool-based projects with sqlite dependencies. + sed -i $out/lib/libsqlite3.la -e "s/dependency_libs=.*/dependency_libs='''/" + ''; + meta = { description = "A self-contained, serverless, zero-configuration, transactional SQL database engine"; downloadPage = http://sqlite.org/download.html; From 2100519278a662714e0aa4ff406dc2bb9062dc7a Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 29 May 2018 15:00:45 +0000 Subject: [PATCH 03/19] Revert "vsqlite: fix build" This reverts commit e89414ff699ddd0689a696db7889b6e5654c847d. --- pkgs/development/libraries/vsqlite/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/vsqlite/default.nix b/pkgs/development/libraries/vsqlite/default.nix index d9a9564e6de1..bfb07c2df337 100644 --- a/pkgs/development/libraries/vsqlite/default.nix +++ b/pkgs/development/libraries/vsqlite/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, boost, sqlite, zlib }: +{ stdenv, fetchurl, boost, sqlite }: stdenv.mkDerivation rec { name = "vsqlite-${version}"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "17fkj0d2jh0xkjpcayhs1xvbnh1d69f026i7vs1zqnbiwbkpz237"; }; - buildInputs = [ boost sqlite zlib ]; + buildInputs = [ boost sqlite ]; prePatch = stdenv.lib.optionalString stdenv.isDarwin '' substituteInPlace Makefile.in \ From c9e7b380e529e98bfca3887dd5011050515ce937 Mon Sep 17 00:00:00 2001 From: gnidorah Date: Wed, 9 May 2018 22:40:30 +0300 Subject: [PATCH 04/19] linux: enable support for iGVT-g VGPU --- pkgs/os-specific/linux/kernel/common-config.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index cee2197f3c7a..a226061ecbfa 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -214,6 +214,11 @@ with stdenv.lib; ${optionalString (versionOlder version "4.3") '' DRM_I915_KMS y ''} + # iGVT-g support + ${optionalString (versionAtLeast version "4.16") '' + DRM_I915_GVT y + DRM_I915_GVT_KVMGT m + ''} # Allow specifying custom EDID on the kernel command line DRM_LOAD_EDID_FIRMWARE y VGA_SWITCHEROO y # Hybrid graphics support From 30dc2913317b4077912c145cd20fe8804ac67502 Mon Sep 17 00:00:00 2001 From: gnidorah Date: Fri, 11 May 2018 20:49:14 +0300 Subject: [PATCH 05/19] virt-viewer: support ALSA --- pkgs/applications/virtualization/virt-viewer/default.nix | 7 +++++-- pkgs/development/libraries/spice-gtk/default.nix | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/virtualization/virt-viewer/default.nix b/pkgs/applications/virtualization/virt-viewer/default.nix index eb48e1d3d300..33e12d109854 100644 --- a/pkgs/applications/virtualization/virt-viewer/default.nix +++ b/pkgs/applications/virtualization/virt-viewer/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, pkgconfig, intltool, glib, libxml2, gtk3, gtkvnc, gmp , libgcrypt, gnupg, cyrus_sasl, shared-mime-info, libvirt, yajl, xen , gsettings-desktop-schemas, makeWrapper, libvirt-glib, libcap_ng, numactl -, libapparmor +, libapparmor, gst_all_1 , spiceSupport ? true , spice-gtk ? null, spice-protocol ? null, libcap ? null, gdbm ? null }: @@ -30,11 +30,14 @@ stdenv.mkDerivation rec { xen ] ++ optionals spiceSupport [ spice-gtk spice-protocol libcap gdbm + gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good ]; postInstall = '' for f in "$out"/bin/*; do - wrapProgram "$f" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" + wrapProgram "$f" \ + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ + --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" done ''; diff --git a/pkgs/development/libraries/spice-gtk/default.nix b/pkgs/development/libraries/spice-gtk/default.nix index 05fd952eb2e8..1b054334c691 100644 --- a/pkgs/development/libraries/spice-gtk/default.nix +++ b/pkgs/development/libraries/spice-gtk/default.nix @@ -2,7 +2,7 @@ , openssl, libpulseaudio, pixman, gobjectIntrospection, libjpeg_turbo, zlib , cyrus_sasl, python2Packages, autoreconfHook, usbredir, libsoup , withPolkit ? true, polkit, acl, usbutils -, vala, gtk3, epoxy, libdrm }: +, vala, gtk3, epoxy, libdrm, gst_all_1 }: # If this package is built with polkit support (withPolkit=true), # usb redirection reqires spice-client-glib-usb-acl-helper to run setuid root. @@ -46,7 +46,7 @@ in stdenv.mkDerivation rec { ''; buildInputs = [ - spice-protocol celt_0_5_1 openssl libpulseaudio pixman + spice-protocol celt_0_5_1 openssl libpulseaudio gst_all_1.gst-plugins-base pixman libjpeg_turbo zlib cyrus_sasl python pygtk usbredir gtk3 epoxy libdrm ] ++ optionals withPolkit [ polkit acl usbutils ] ; From ce0d9eecff20b4bcd5df86005763acb8f212b661 Mon Sep 17 00:00:00 2001 From: gnidorah Date: Fri, 11 May 2018 21:45:05 +0300 Subject: [PATCH 06/19] phodav: init at 2.2 --- pkgs/tools/networking/phodav/default.nix | 25 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/networking/phodav/default.nix diff --git a/pkgs/tools/networking/phodav/default.nix b/pkgs/tools/networking/phodav/default.nix new file mode 100644 index 000000000000..e585af81991e --- /dev/null +++ b/pkgs/tools/networking/phodav/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl +, intltool, pkgconfig, glib, libsoup }: + +let + version = "2.2"; +in stdenv.mkDerivation rec { + name = "phodav-${version}"; + + src = fetchurl { + url = "http://ftp.gnome.org/pub/GNOME/sources/phodav/${version}/${name}.tar.xz"; + sha256 = "1hap0lncbcmivnflh0fbx7y58ry78p9wgj7z03r64ic0kvf0a0q8"; + }; + + buildInputs = [ intltool glib libsoup ]; + + nativeBuildInputs = [ pkgconfig ]; + + meta = with stdenv.lib; { + description = "WebDav server implementation and library using libsoup"; + homepage = https://wiki.gnome.org/phodav; + license = licenses.lgpl21; + maintainers = with maintainers; [ gnidorah ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe4e0cc91f40..2db43f53bce9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4396,6 +4396,8 @@ with pkgs; philter = callPackage ../tools/networking/philter { }; + phodav = callPackage ../tools/networking/phodav { }; + pinentry = callPackage ../tools/security/pinentry { libcap = if stdenv.isDarwin then null else libcap; }; From 62500ec9649a17c2bd5380a5551043b426560cd6 Mon Sep 17 00:00:00 2001 From: gnidorah Date: Fri, 11 May 2018 22:09:22 +0300 Subject: [PATCH 07/19] virt-viewer: folder sharing support --- pkgs/development/libraries/spice-gtk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/spice-gtk/default.nix b/pkgs/development/libraries/spice-gtk/default.nix index 1b054334c691..21359c4f0d0b 100644 --- a/pkgs/development/libraries/spice-gtk/default.nix +++ b/pkgs/development/libraries/spice-gtk/default.nix @@ -2,7 +2,7 @@ , openssl, libpulseaudio, pixman, gobjectIntrospection, libjpeg_turbo, zlib , cyrus_sasl, python2Packages, autoreconfHook, usbredir, libsoup , withPolkit ? true, polkit, acl, usbutils -, vala, gtk3, epoxy, libdrm, gst_all_1 }: +, vala, gtk3, epoxy, libdrm, gst_all_1, phodav }: # If this package is built with polkit support (withPolkit=true), # usb redirection reqires spice-client-glib-usb-acl-helper to run setuid root. @@ -47,7 +47,7 @@ in stdenv.mkDerivation rec { buildInputs = [ spice-protocol celt_0_5_1 openssl libpulseaudio gst_all_1.gst-plugins-base pixman - libjpeg_turbo zlib cyrus_sasl python pygtk usbredir gtk3 epoxy libdrm + libjpeg_turbo zlib cyrus_sasl python pygtk usbredir gtk3 epoxy libdrm phodav ] ++ optionals withPolkit [ polkit acl usbutils ] ; nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala gobjectIntrospection ]; From a3e239ac6233dc895edaf90d8d4ba6728d4d4a41 Mon Sep 17 00:00:00 2001 From: gnidorah Date: Tue, 29 May 2018 19:29:23 +0300 Subject: [PATCH 08/19] nixos/kvmgt: init --- nixos/modules/module-list.nix | 1 + nixos/modules/virtualisation/kvmgt.nix | 64 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 nixos/modules/virtualisation/kvmgt.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 12d9e1adf23d..d6f2c85a8109 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -787,6 +787,7 @@ ./virtualisation/lxd.nix ./virtualisation/amazon-options.nix ./virtualisation/hyperv-guest.nix + ./virtualisation/kvmgt.nix ./virtualisation/openvswitch.nix ./virtualisation/parallels-guest.nix ./virtualisation/qemu-guest-agent.nix diff --git a/nixos/modules/virtualisation/kvmgt.nix b/nixos/modules/virtualisation/kvmgt.nix new file mode 100644 index 000000000000..fc0bedb68bd0 --- /dev/null +++ b/nixos/modules/virtualisation/kvmgt.nix @@ -0,0 +1,64 @@ +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.virtualisation.kvmgt; + kernelPackages = config.boot.kernelPackages; + vgpuOptions = { + uuid = mkOption { + type = types.string; + description = "UUID of VGPU device. You can generate one with libossp_uuid."; + }; + }; +in { + options = { + virtualisation.kvmgt = { + enable = mkEnableOption '' + KVMGT (iGVT-g) VGPU support. Allows Qemu/KVM guests to share host's Intel integrated graphics card. + Currently only one graphical device can be shared + ''; + # multi GPU support is under the question + device = mkOption { + type = types.string; + default = "0000:00:02.0"; + description = "PCI ID of graphics card. You can figure it with ls /sys/class/mdev_bus."; + }; + vgpus = mkOption { + default = {}; + type = with types; attrsOf (submodule [ { options = vgpuOptions; } ]); + description = '' + Virtual GPUs to be used in Qemu. You can find devices via ls /sys/bus/pci/devices/*/mdev_supported_types + and find info about device via cat /sys/bus/pci/devices/*/mdev_supported_types/i915-GVTg_V5_4/description + ''; + example = { + "i915-GVTg_V5_8" = { + uuid = "a297db4a-f4c2-11e6-90f6-d3b88d6c9525"; + }; + }; + }; + }; + }; + + config = mkIf cfg.enable { + assertions = singleton { + assertion = versionAtLeast kernelPackages.kernel.version "4.16"; + message = "KVMGT is not properly supported for kernels older than 4.16"; + }; + boot.kernelParams = [ "i915.enable_gvt=1" ]; + systemd.services = mapAttrs' (name: value: + nameValuePair "kvmgt-${name}" { + description = "KVMGT VGPU ${name}"; + serviceConfig = { + Type = "oneshot"; + RemainAfterExit = true; + ExecStart = "${pkgs.runtimeShell} -c 'echo ${value.uuid} > /sys/bus/pci/devices/${cfg.device}/mdev_supported_types/${name}/create'"; + ExecStop = "${pkgs.runtimeShell} -c 'echo 1 > /sys/bus/pci/devices/${cfg.device}/${value.uuid}/remove'"; + }; + wantedBy = [ "multi-user.target" ]; + } + ) cfg.vgpus; + }; + + meta.maintainers = with maintainers; [ gnidorah ]; +} From 024871718d767e3682c2a1c8fdaee66db4c83c48 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 30 May 2018 02:00:06 +0000 Subject: [PATCH 09/19] libffi: fix check (cherry picked from commit 13b80d7805ef11db1a3d1511171cee378f0a692f) --- pkgs/development/libraries/libffi/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index 50cf8526c362..1c7c0715e75b 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -49,6 +49,11 @@ stdenv.mkDerivation rec { "--enable-pax_emutramp" ]; + preCheck = '' + # The tests use -O0 which is not compatible with -D_FORTIFY_SOURCE. + NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/} + ''; + inherit doCheck; dontStrip = hostPlatform != buildPlatform; # Don't run the native `strip' when cross-compiling. From c315d45fda8ed83db5a2383be981fbdae45244c2 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Wed, 30 May 2018 20:35:02 +0200 Subject: [PATCH 10/19] parallel: 20180422 -> 20180522 --- pkgs/tools/misc/parallel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/parallel/default.nix b/pkgs/tools/misc/parallel/default.nix index 9bb09d227c4c..75be4efe7d1b 100644 --- a/pkgs/tools/misc/parallel/default.nix +++ b/pkgs/tools/misc/parallel/default.nix @@ -1,11 +1,11 @@ { fetchurl, stdenv, perl, makeWrapper, procps }: stdenv.mkDerivation rec { - name = "parallel-20180422"; + name = "parallel-20180522"; src = fetchurl { url = "mirror://gnu/parallel/${name}.tar.bz2"; - sha256 = "0xsfpbxwgd4197gra981iv0nmjfk58c0d88dxx6dh6yrqz523klx"; + sha256 = "1khcz9pm7rjnq4gw8pn30k1d40x337a204dxj4y4qijpx8m7w0gb"; }; nativeBuildInputs = [ makeWrapper perl ]; From ef695239a07cc7e16b9d4687e44349ca33be15ae Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 30 May 2018 21:22:35 +0000 Subject: [PATCH 11/19] cairo: 1.15.10 -> 1.15.12 The previous 1.15.10 (and the stable 1.14.12) have the bug https://bugs.freedesktop.org/show_bug.cgi?id=104325 which breaks perlPackages.Cairo and pythonPackages.cairocffi tests. --- pkgs/development/libraries/cairo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/cairo/default.nix b/pkgs/development/libraries/cairo/default.nix index 74ae4abaedf9..44cdfc4e0eef 100644 --- a/pkgs/development/libraries/cairo/default.nix +++ b/pkgs/development/libraries/cairo/default.nix @@ -10,14 +10,14 @@ assert glSupport -> libGL != null; let - version = "1.15.10"; + version = "1.15.12"; inherit (stdenv.lib) optional optionals; in stdenv.mkDerivation rec { name = "cairo-${version}"; src = fetchurl { url = "http://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${name}.tar.xz"; - sha256 = "14l3jll98pjdlpm8f972v0spzcsf6y5nz85y2k8iybyg6ihj5jk2"; + sha256 = "1jcl0mnqq6j2xip8p506g2cj54sfycm339rrd3p4g2jljhdhh8vn"; }; outputs = [ "out" "dev" "devdoc" ]; From 252a8af143f8c47ff62ace476df42a2d62db1601 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 31 May 2018 19:14:38 +0200 Subject: [PATCH 12/19] json-glib: add updateScript --- .../libraries/json-glib/default.nix | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/json-glib/default.nix b/pkgs/development/libraries/json-glib/default.nix index 21bddf8f6bb5..a9b5d596b395 100644 --- a/pkgs/development/libraries/json-glib/default.nix +++ b/pkgs/development/libraries/json-glib/default.nix @@ -1,14 +1,15 @@ { stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext -, gobjectIntrospection, dbus -, fixDarwinDylibNames +, gobjectIntrospection, dbus, fixDarwinDylibNames, gnome3 }: -stdenv.mkDerivation rec { - name = "json-glib-${minVer}.2"; - minVer = "1.4"; +let + pname = "json-glib"; + version = "1.4.2"; +in stdenv.mkDerivation rec { + name = "${pname}-${version}"; src = fetchurl { - url = "mirror://gnome/sources/json-glib/${minVer}/${name}.tar.xz"; + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; sha256 = "2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8"; }; @@ -28,9 +29,15 @@ stdenv.mkDerivation rec { doCheck = true; + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + }; + }; + meta = with stdenv.lib; { - homepage = http://live.gnome.org/JsonGlib; description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format"; + homepage = https://wiki.gnome.org/Projects/JsonGlib; license = licenses.lgpl2; maintainers = with maintainers; [ lethalman ]; platforms = with platforms; unix; From 42e18cf6d1086f68210c9d9ad1293bb53b66a7cd Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 31 May 2018 10:56:38 -0700 Subject: [PATCH 13/19] bison: 3.0.4 -> 3.0.5 (#41302) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bison/versions. These checks were done: - built on NixOS - /nix/store/q481pyq4xd66jis7wdcfjy3dldch0vwl-bison-3.0.5/bin/bison passed the binary check. - /nix/store/q481pyq4xd66jis7wdcfjy3dldch0vwl-bison-3.0.5/bin/yacc passed the binary check. - 2 of 2 passed binary check by having a zero exit code. - 0 of 2 passed binary check by having the new version present in output. - found 3.0.5 with grep in /nix/store/q481pyq4xd66jis7wdcfjy3dldch0vwl-bison-3.0.5 - directory tree listing: https://gist.github.com/76c5b3a38b02115e31a48c51785d1bd3 - du listing: https://gist.github.com/566dbfdfcc7a89fa9cd11d1ddf49935c --- pkgs/development/tools/parsing/bison/3.x.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/parsing/bison/3.x.nix b/pkgs/development/tools/parsing/bison/3.x.nix index 9c75e93bb1c1..921f5d2d948c 100644 --- a/pkgs/development/tools/parsing/bison/3.x.nix +++ b/pkgs/development/tools/parsing/bison/3.x.nix @@ -1,11 +1,11 @@ { stdenv, hostPlatform, fetchurl, m4, perl, help2man }: stdenv.mkDerivation rec { - name = "bison-3.0.4"; + name = "bison-3.0.5"; src = fetchurl { url = "mirror://gnu/bison/${name}.tar.gz"; - sha256 = "b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e"; + sha256 = "0rnml9spd6p0i5qy9g4r82drwdr09r1z9cf4p89agbrkxqmrsffd"; }; patches = stdenv.lib.optional hostPlatform.isDarwin stdenv.secure-format-patch; From 5d61168461b6e5a3e50473f3cd64f222f6686b43 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 31 May 2018 10:59:26 -0700 Subject: [PATCH 14/19] fftwLongDouble: 3.3.7 -> 3.3.8 (#41299) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fftw-long-double/versions. These checks were done: - built on NixOS - 0 of 0 passed binary check by having a zero exit code. - 0 of 0 passed binary check by having the new version present in output. - found 3.3.8 with grep in /nix/store/7csndk7q4h2wvv46ndgh6lm4j0ybx9zf-fftw-long-double-3.3.8 - directory tree listing: https://gist.github.com/05084878f5535b72e17b90667821c468 - du listing: https://gist.github.com/174653df406b155bf1a9c07da9257f54 --- pkgs/development/libraries/fftw/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/fftw/default.nix b/pkgs/development/libraries/fftw/default.nix index 701209971074..3c5100f2f7f4 100644 --- a/pkgs/development/libraries/fftw/default.nix +++ b/pkgs/development/libraries/fftw/default.nix @@ -5,7 +5,7 @@ with lib; assert elem precision [ "single" "double" "long-double" "quad-precision" ]; let - version = "3.3.7"; + version = "3.3.8"; withDoc = stdenv.cc.isGNU; in @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "ftp://ftp.fftw.org/pub/fftw/fftw-${version}.tar.gz"; - sha256 = "0wsms8narnbhfsa8chdflv2j9hzspvflblnqdn7hw8x5xdzrnq1v"; + sha256 = "00z3k8fq561wq2khssqg0kallk0504dzlx989x3vvicjdqpjc4v1"; }; outputs = [ "out" "dev" "man" ] From fd9cfc4db512f41612727a4a4fe0303fe8f67bef Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jun 2018 17:23:53 +0200 Subject: [PATCH 15/19] Revert "itstool: 2.0.2 -> 2.0.4" (#41339) This reverts commit 48698a0668552a477f4454909ca4455fef0a6d19 It crashes and breaks the build of gnome3.gnome_desktop and others. Upstream issue: https://github.com/itstool/itstool/issues/17 --- pkgs/development/tools/misc/itstool/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/itstool/default.nix b/pkgs/development/tools/misc/itstool/default.nix index 129c1c6b3a93..9368a3c1acf8 100644 --- a/pkgs/development/tools/misc/itstool/default.nix +++ b/pkgs/development/tools/misc/itstool/default.nix @@ -2,11 +2,13 @@ # We need the same Python as is used to build libxml2Python stdenv.mkDerivation rec { - name = "itstool-2.0.4"; + # 2.0.3+ breaks the build of gnome3.gnome-desktop + # https://github.com/itstool/itstool/issues/17 + name = "itstool-2.0.2"; src = fetchurl { url = "http://files.itstool.org/itstool/${name}.tar.bz2"; - sha256 = "0q7b4qrc758zfx3adsgvz0r93swdbxjr42w37rahngm33nshihlp"; + sha256 = "bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a"; }; buildInputs = [ python2 libxml2Python ]; From f96c5effd6b0fd11ae5b7174f23ade7c1bcb60aa Mon Sep 17 00:00:00 2001 From: xeji <36407913+xeji@users.noreply.github.com> Date: Fri, 1 Jun 2018 21:25:27 +0200 Subject: [PATCH 16/19] procps-ng: 3.3.14 -> 3.3.15 (#41324) https://nvd.nist.gov/vuln/detail/CVE-2018-1124 Closes #41082 --- pkgs/os-specific/linux/procps-ng/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/procps-ng/default.nix b/pkgs/os-specific/linux/procps-ng/default.nix index 08420e36c65b..bd69145521c1 100644 --- a/pkgs/os-specific/linux/procps-ng/default.nix +++ b/pkgs/os-specific/linux/procps-ng/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { name = "procps-${version}"; - version = "3.3.14"; + version = "3.3.15"; # The project's releases are on SF, but git repo on gitlab. src = fetchurl { url = "mirror://sourceforge/procps-ng/procps-ng-${version}.tar.xz"; - sha256 = "0v3j6rkzzscqds37i105cxx3q4dk04rsgpqfd5p7hzcvk59h5njy"; + sha256 = "0r84kwa5fl0sjdashcn4vh7hgfm7ahdcysig3mcjvpmkzi7p9g8h"; }; buildInputs = [ ncurses ]; From cf152c2791c3a525736bcd540422d9b99a8f2a38 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Fri, 1 Jun 2018 13:04:34 -0700 Subject: [PATCH 17/19] p11-kit: 0.23.10 -> 0.23.11 (#41271) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/p11-kit/versions. These checks were done: - built on NixOS - 0 of 0 passed binary check by having a zero exit code. - 0 of 0 passed binary check by having the new version present in output. - found 0.23.11 with grep in /nix/store/9whclrmrld36nawkkdshhj636jlh1cdm-p11-kit-0.23.11 - directory tree listing: https://gist.github.com/be74c2d2f6d0b1ee2fb5e2b0e30fb945 - du listing: https://gist.github.com/470d2f00cd777773ea45ea6ea280a07a --- pkgs/development/libraries/p11-kit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/p11-kit/default.nix b/pkgs/development/libraries/p11-kit/default.nix index 9c6631862879..225623fa4916 100644 --- a/pkgs/development/libraries/p11-kit/default.nix +++ b/pkgs/development/libraries/p11-kit/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { name = "p11-kit-${version}"; - version = "0.23.10"; + version = "0.23.11"; src = fetchFromGitHub { owner = "p11-glue"; repo = "p11-kit"; rev = version; - sha256 = "0n0wqv028flzvnxllqv8i6x9nv705csl7ddzi0fzvppc9fp2yinp"; + sha256 = "08jfxml3w8gn85qz19ps1z8yb66k921z0cgzizqn1ipl9pp5pxyd"; }; outputs = [ "out" "dev"]; From 5bedf2351412b4cec838badcff3cce10aa92a9d8 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sat, 2 Jun 2018 03:14:27 +0000 Subject: [PATCH 18/19] p11-kit: 0.23.11 -> 0.23.12 0.23.11 breaks gnutls: https://github.com/p11-glue/p11-kit/issues/159 --- pkgs/development/libraries/p11-kit/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/p11-kit/default.nix b/pkgs/development/libraries/p11-kit/default.nix index 225623fa4916..212547c63a0e 100644 --- a/pkgs/development/libraries/p11-kit/default.nix +++ b/pkgs/development/libraries/p11-kit/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { name = "p11-kit-${version}"; - version = "0.23.11"; + version = "0.23.12"; src = fetchFromGitHub { owner = "p11-glue"; repo = "p11-kit"; rev = version; - sha256 = "08jfxml3w8gn85qz19ps1z8yb66k921z0cgzizqn1ipl9pp5pxyd"; + sha256 = "0pb3qlddzbw7dglwnrl7fs9g71vhqk7qzxnb1i4nw633qgy21ga1"; }; outputs = [ "out" "dev"]; @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { installFlags = [ "exampledir=\${out}/etc/pkcs11" ]; doInstallCheck = false; # probably a bug in this derivation + enableParallelBuilding = true; meta = with stdenv.lib; { homepage = https://p11-glue.freedesktop.org/; From 52fdec3c1dedaf9c7396d0ee5532135a64ed2075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 2 Jun 2018 11:30:41 +0200 Subject: [PATCH 19/19] bison: drop non-applying patch on Darwin The Darwin case seems newly fixed in the tarballs now. Beware: the affected file is *not* in bison's git repo (gitignored), but it is in tarballs and is used during build (yummy!) --- pkgs/development/tools/parsing/bison/3.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/parsing/bison/3.x.nix b/pkgs/development/tools/parsing/bison/3.x.nix index 921f5d2d948c..287bb8beb524 100644 --- a/pkgs/development/tools/parsing/bison/3.x.nix +++ b/pkgs/development/tools/parsing/bison/3.x.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { sha256 = "0rnml9spd6p0i5qy9g4r82drwdr09r1z9cf4p89agbrkxqmrsffd"; }; - patches = stdenv.lib.optional hostPlatform.isDarwin stdenv.secure-format-patch; + patches = []; # remove on another rebuild nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man; propagatedBuildInputs = [ m4 ];