Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88f32cca5a47
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0c07921c906c
Choose a head ref

Commits on Sep 14, 2019

  1. networkmanager,modemmanager: fix service symlinks for systemd v243

    Fixes problems such as:
    
    systemd[1]: Failed to put bus name to hashmap: File exists
    systemd[1]: dbus-org.freedesktop.nm-dispatcher.service: Two services allocated for the same bus name org.freedesktop.nm_dispatcher, refusing operation.
    
    Problem is that systemd treats symlinks to files outside the service
    path differently, causing our old workaround to look like two separate services.
    
    These symlinks are intended to be a means for manually emulating
    the behavior of the `Alias=` directive in these services.
    Unfortunately even making these symlinks relative isn't enough,
    since they don't make it to where it matters--
    that only makes the links in /etc/static/systemd/system/*
    relative, with systemd still being shown non-relative links
    in /etc/systemd/system/*.
    
    To fix this, drop all of this at the package level
    and instead simply specify the aliases in the NixOS modules.
    
    Also handle the same for modemmanager,
    since the networkmanager NixOS module also handles that.
    
    (cherry picked from commit 447d625)
    dtzWill authored and worldofpeace committed Sep 14, 2019
    Copy the full SHA
    5c0ad0e View commit details

Commits on Sep 16, 2019

  1. modemmanager: 1.10.0 -> 1.10.4

    Update dbus-sys-dir to not use deprecated directory.
    
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/blob/1.10.4/NEWS
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/blob/1.10.2/NEWS
    
    Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
    (cherry picked from commit 2182157)
    dtzWill and worldofpeace committed Sep 16, 2019
    Copy the full SHA
    f21863d View commit details
  2. Copy the full SHA
    08ef9a8 View commit details
  3. bison: 3.4.1 -> 3.4.2, bugfix release (#68734)

    (cherry picked from commit b86f9d6)
    dtzWill authored and disassembler committed Sep 16, 2019
    Copy the full SHA
    281e574 View commit details
  4. Copy the full SHA
    20e6e12 View commit details
  5. Re-revert "pythonPackages.flaky: 3.5.3 -> 3.6.1 (#68411)"

    This reverts commit 047e326.
    i.e. the change is moved from the release-19.09 branch to staging-19.09.
    vcunat committed Sep 16, 2019
    Copy the full SHA
    b4e6d2b View commit details

Commits on Sep 17, 2019

  1. Copy the full SHA
    1e724d9 View commit details

Commits on Sep 18, 2019

  1. expat: patch CVE-2019-15903 (from Debian, issue #68818)

    I hope this URL will last for a few months, feel free to find better.
    
    (cherry picked from commit 531fe80)
    vcunat committed Sep 18, 2019
    Copy the full SHA
    604acd4 View commit details
  2. qt5.12: Add patches for QTBUG-73459 and QTBUG-69077

    QT 5.12 introduced a regression, where a QT program wouldn't show its
    tray icon, if there was no tray bar during program startup. (QTBUG-73459)
    
    QT 5.12 introduced a regression, where qtwebengine applications would
    freeze in some wayland compositors if a surface from the instance was not
    visible (for example having a qutebrowser window on another workspace in
    sway would freeze all qutebrowser windows).
    
    Both got fixed already in Qt 5.12.4, but according to #57042 and its
    sibling issues/PRs it doesn't seem to get fixed in near future for
    nixpkgs.
    Milan Pässler committed Sep 18, 2019
    Copy the full SHA
    e33ca60 View commit details
  3. Merge pull request #69015 from petabyteboy/feature/qt-patches-staging…

    …-19.09
    
    qt5.12: Add patches for QTBUG-73459 and QTBUG-69077 (19.09)
    ttuegel authored Sep 18, 2019
    Copy the full SHA
    9d98bb7 View commit details
  4. Copy the full SHA
    f2b96c7 View commit details

Commits on Sep 19, 2019

  1. mosquitto: 1.6.4 -> 1.6.5

    (cherry picked from commit 05ee2af)
    peterhoeg committed Sep 19, 2019
    Copy the full SHA
    c756b06 View commit details
  2. mosquitto: 1.6.5 -> 1.6.6

    (cherry picked from commit 6605fff)
    peterhoeg committed Sep 19, 2019
    Copy the full SHA
    0c2615a View commit details
  3. libwebsockets: re-init 3.1

    (cherry picked from commit b02b889)
    peterhoeg committed Sep 19, 2019
    Copy the full SHA
    bd890d8 View commit details
  4. Merge pull request #69069 from peterhoeg/u/stable_mosquitto_166

    mosquitto: 1.6.4 -> 1.6.6
    peterhoeg authored Sep 19, 2019
    Copy the full SHA
    1831478 View commit details

Commits on Sep 21, 2019

  1. cask: Fix cask usage

    Without python as a dependency I only get the following error:
    /usr/bin/env: ‘python’: No such file or directory
    
    (cherry picked from commit 4f297c2)
    etu committed Sep 21, 2019
    Copy the full SHA
    9071847 View commit details
  2. wrapQtAppsHook: correct skip directories heuristic

    (cherry picked from commit 15e99a0)
    worldofpeace committed Sep 21, 2019
    Copy the full SHA
    1f4cd31 View commit details

Commits on Sep 22, 2019

  1. radeon-profile: use Qt mkDerivation

    (cherry picked from commit f93006638109877f10003898baa0bb1d0abf97f5)
    
    This solves the runtime error due to missing Qt libraries.
    rnhmjoj committed Sep 22, 2019
    Copy the full SHA
    fdffddd View commit details
  2. radeon-profile: 20170714 -> 20190903

    (cherry picked from commit 608b6b5b5ca008168b8cb1961c014da44449577e)
    rnhmjoj committed Sep 22, 2019
    Copy the full SHA
    21c6e12 View commit details
  3. Copy the full SHA
    d03904f View commit details
  4. Merge pull request #69223 from worldofpeace/wrap-qt-apps/fix-stable

    [19.09] wrapQtAppsHook: correct skip directories heuristic
    ttuegel authored Sep 22, 2019
    Copy the full SHA
    e739c13 View commit details
  5. vista-fonts: Use new download location

    (cherry picked from commit d8e35fd)
    edolstra committed Sep 22, 2019
    Copy the full SHA
    6ebebe1 View commit details
  6. glibc: fix cross compilation with gcc8

    (cherry picked from commit 3fcc444)
    matthewbauer committed Sep 22, 2019
    Copy the full SHA
    2289446 View commit details
  7. daemon: init at 0.6.4

    (cherry picked from commit 96ffba1)
    svanderburg committed Sep 22, 2019
    Copy the full SHA
    b9c0859 View commit details
  8. nixFlakes: 2.3pre20190830_04np4n6 -> 2.4pre20190913_a25c022

    (cherry picked from commit b9e81b2)
    edolstra committed Sep 22, 2019
    Copy the full SHA
    b0993af View commit details
  9. nix: mark unix only

    Nix is only known to work on unix like platforms.
    
    https://hydra.nixos.org/job/nixpkgs/cross-trunk/crossMingw32.nix.x86_64-linux
    (cherry picked from commit 2c32f91)
    matthewbauer authored and edolstra committed Sep 22, 2019
    Copy the full SHA
    f6599e3 View commit details
  10. nixFlakes: 2.4pre20190913_a25c022 -> 2.4pre20190922_382aa05

    (cherry picked from commit 8109be4)
    edolstra committed Sep 22, 2019
    Copy the full SHA
    03762d6 View commit details
  11. Merge pull request #69205 from etu/fix-cask-19-09

    [19.09] cask: Fix cask usage
    adisbladis authored Sep 22, 2019
    Copy the full SHA
    bf040d6 View commit details
  12. Merge pull request #69254 from mmilata/wordpress-19.09

    wordpress: 5.2.2 -> 5.2.3
    aanderse authored Sep 22, 2019
    Copy the full SHA
    b20330b View commit details

Commits on Sep 23, 2019

  1. nixos/gitlab: Add gnutar and gzip to gitlab-sidekiq's path

    Tar and gzip are needed when importing GitLab project exports.
    
    (cherry picked from commit aceac9d)
    talyz authored and flokli committed Sep 23, 2019
    Copy the full SHA
    7a7a80b View commit details
  2. gigedit: 1.1.0 -> 1.1.1

    (cherry picked from commit 3ffd7ba)
    Backport of #68934
    mimame authored and srhb committed Sep 23, 2019
    Copy the full SHA
    e9f7d9c View commit details
  3. kvirc: use qt5.mkDerivation

    (cherry picked from commit fa435f2)
    suhr authored and Mic92 committed Sep 23, 2019
    Copy the full SHA
    f649240 View commit details
  4. firefox: Use default icu

    (cherry picked from commit 13beb8d)
    edolstra committed Sep 23, 2019
    Copy the full SHA
    12cc54f View commit details
  5. Merge commit 'staging-19.09' into release-19.09

    This is older version that has finished already:
    https://hydra.nixos.org/eval/1543593
    vcunat committed Sep 23, 2019
    Copy the full SHA
    1875b76 View commit details
  6. pythonPackages.license-expression: fix build

    (cherry picked from commit c6e002c)
    yorickvP authored and Mic92 committed Sep 23, 2019
    Copy the full SHA
    82e1d6f View commit details
  7. pythonPackages.license-expression: make patchShebangs more specific

    (cherry picked from commit b640dbd)
    yorickvP authored and Mic92 committed Sep 23, 2019
    Copy the full SHA
    05f275f View commit details
  8. Merge pull request #69249 from rnhmjoj/radeon-backport

    radeon-profile: 20170714 -> 20190903 [19.09 backport]
    globin authored Sep 23, 2019
    Copy the full SHA
    dc8111b View commit details
  9. treewide: replace daemon with enableDaemon

    broken with the introducation of "daemon" in
    
    NixOS/nixpkgs@96ffba1
    (cherry picked from commit ad22b90)
    matthewbauer committed Sep 23, 2019
    Copy the full SHA
    d0d296f View commit details
  10. mariadb: add patch for missing libcrypt on darwin

    Really fixes #69034
    
    (cherry picked from commit 067b4db)
    matthewbauer committed Sep 23, 2019
    Copy the full SHA
    dee2173 View commit details
  11. dolphin: add baloo to propagatedUseEnvPkgs

    This is needed for "Search for..." feature in dolphin.
    
    Fixes #68174
    
    (cherry picked from commit de15e98)
    matthewbauer committed Sep 23, 2019
    Copy the full SHA
    6b7a7b3 View commit details
  12. aws-sdk-cpp: fix libatomic detection

    Needed for https://hydra.nixos.org/build/100470050
    
    /cc @lopsided98
    
    (cherry picked from commit 980c80c)
    matthewbauer committed Sep 23, 2019
    Copy the full SHA
    6a5b4ad View commit details
  13. libdrm: Add patch to fix musl build. Fixes #66441

    (cherry picked from commit b577340eb5bc3b72549f0544b50e2e37df78bf12)
    
    Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
    (cherry picked from commit 23399ff)
    nh2 and matthewbauer committed Sep 23, 2019
    Copy the full SHA
    34f71a7 View commit details
  14. grafana: 6.3.5 -> 6.3.6

    (cherry picked from commit c846b0a)
    WilliButz authored and fpletz committed Sep 23, 2019
    Copy the full SHA
    b0448a7 View commit details
  15. dynd: fix build

    (cherry picked from commit f9da799)
    teh authored and Mic92 committed Sep 23, 2019
    Copy the full SHA
    07f018b View commit details
  16. pythonPackages.cairocffi: v1.0.2 -> v.1.1.0

    The tests were failing due the switch to pytest5.
    This issue has been addressed upstream in
    Kozea/cairocffi@a500f20
    which is included in v.1.1.0, so bumping the version and
    updating the old patch.
    
    Hydra log of the failure:
    https://hydra.nixos.org/build/100785460/nixlog/6
    
    (cherry picked from commit 7ff2638)
    d-goldin authored and Mic92 committed Sep 23, 2019
    Copy the full SHA
    408b7e4 View commit details
  17. rtlwifi_new: 2018-02-17 -> 2019-08-21

    (cherry picked from commit 434a69f)
    Mic92 committed Sep 23, 2019
    Copy the full SHA
    0c07921 View commit details
Showing with 1,060 additions and 152 deletions.
  1. +4 −0 nixos/modules/services/misc/gitlab.nix
  2. +5 −0 nixos/modules/services/networking/networkmanager.nix
  3. +2 −4 pkgs/applications/audio/gigedit/default.nix
  4. +0 −15 pkgs/applications/audio/gigedit/gigedit-1.1.0-pangomm-2.40.1.patch
  5. +1 −0 pkgs/applications/kde/dolphin.nix
  6. +3 −3 pkgs/applications/networking/irc/kvirc/default.nix
  7. +6 −6 pkgs/applications/networking/irc/quassel/default.nix
  8. +2 −3 pkgs/data/fonts/vista-fonts/default.nix
  9. +8 −1 pkgs/development/libraries/aws-sdk-cpp/default.nix
  10. +11 −1 pkgs/development/libraries/expat/default.nix
  11. +10 −2 pkgs/development/libraries/glibc/common.nix
  12. +10 −2 pkgs/development/libraries/libdrm/default.nix
  13. +41 −22 pkgs/development/libraries/libwebsockets/default.nix
  14. +5 −0 pkgs/development/libraries/qt-5/5.12/default.nix
  15. +175 −0 pkgs/development/libraries/qt-5/5.12/qtbase-trayicons.patch
  16. +139 −0 pkgs/development/libraries/qt-5/5.12/qtwayland-fix-webengine-freezeups-1.patch
  17. +493 −0 pkgs/development/libraries/qt-5/5.12/qtwayland-fix-webengine-freezeups-2.patch
  18. +1 −1 pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh
  19. +2 −2 pkgs/development/python-modules/cairocffi/default.nix
  20. +44 −29 pkgs/development/python-modules/cairocffi/dlopen-paths.patch
  21. +2 −0 pkgs/development/python-modules/dynd/default.nix
  22. +12 −5 pkgs/development/python-modules/flaky/default.nix
  23. +1 −0 pkgs/development/python-modules/license-expression/default.nix
  24. +6 −3 pkgs/development/tools/cask/default.nix
  25. +2 −2 pkgs/development/tools/parsing/bison/3.x.nix
  26. +3 −3 pkgs/os-specific/linux/rtlwifi_new/default.nix
  27. +3 −3 pkgs/servers/monitoring/grafana/default.nix
  28. +5 −5 pkgs/servers/mqtt/mosquitto/default.nix
  29. +7 −2 pkgs/servers/sql/mariadb/default.nix
  30. +2 −2 pkgs/servers/web-apps/wordpress/default.nix
  31. +10 −8 pkgs/tools/misc/radeon-profile/default.nix
  32. +3 −10 pkgs/tools/networking/modem-manager/default.nix
  33. +0 −5 pkgs/tools/networking/network-manager/default.nix
  34. +2 −2 pkgs/tools/networking/openconnect/default.nix
  35. +2 −2 pkgs/tools/networking/p2p/amule/default.nix
  36. +5 −5 pkgs/tools/package-management/nix/default.nix
  37. +25 −0 pkgs/tools/system/daemon/default.nix
  38. +8 −4 pkgs/top-level/all-packages.nix
4 changes: 4 additions & 0 deletions nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
@@ -675,6 +675,10 @@ in {
openssh
nodejs
gnupg

# Needed for GitLab project imports
gnutar
gzip
];
serviceConfig = {
Type = "simple";
5 changes: 5 additions & 0 deletions nixos/modules/services/networking/networkmanager.nix
Original file line number Diff line number Diff line change
@@ -462,12 +462,16 @@ in {
mkdir -m 700 -p /etc/ipsec.d
mkdir -m 755 -p ${stateDirs}
'';

aliases = [ "dbus-org.freedesktop.NetworkManager.service" ];
};

systemd.services.NetworkManager-wait-online = {
wantedBy = [ "network-online.target" ];
};

systemd.services.ModemManager.aliases = [ "dbus-org.freedesktop.ModemManager1.service" ];

systemd.services.nm-setup-hostsdirs = mkIf dynamicHostsEnabled {
wantedBy = [ "NetworkManager.service" ];
before = [ "NetworkManager.service" ];
@@ -489,6 +493,7 @@ in {

# useful binaries for user-specified hooks
path = [ pkgs.iproute pkgs.utillinux pkgs.coreutils ];
aliases = [ "dbus-org.freedesktop.nm-dispatcher.service" ];
};

# Turn off NixOS' network management
6 changes: 2 additions & 4 deletions pkgs/applications/audio/gigedit/default.nix
Original file line number Diff line number Diff line change
@@ -4,15 +4,13 @@

stdenv.mkDerivation rec {
pname = "gigedit";
version = "1.1.0";
version = "1.1.1";

src = fetchurl {
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
sha256 = "087pc919q28r1vw31c7w4m14bqnp4md1i2wbmk8w0vmwv2cbx2ni";
sha256 = "08db12crwf0dy1dbyrmivqqpg5zicjikqkmf2kb1ywpq0a9hcxrb";
};

patches = [ ./gigedit-1.1.0-pangomm-2.40.1.patch ];

preConfigure = "make -f Makefile.svn";

nativeBuildInputs = [ autoconf automake intltool libtool pkgconfig which ];
15 changes: 0 additions & 15 deletions pkgs/applications/audio/gigedit/gigedit-1.1.0-pangomm-2.40.1.patch

This file was deleted.

1 change: 1 addition & 0 deletions pkgs/applications/kde/dolphin.nix
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ mkDerivation {
maintainers = [ lib.maintainers.ttuegel ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedUserEnvPkgs = [ baloo ];
propagatedBuildInputs = [
baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig
kcoreaddons kdelibs4support kdbusaddons kfilemetadata ki18n kiconthemes
6 changes: 3 additions & 3 deletions pkgs/applications/networking/irc/kvirc/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub
{ lib, mkDerivation, fetchFromGitHub
, qtbase, qtmultimedia, qtsvg, qtx11extras
, pkgconfig, cmake, gettext
}:

stdenv.mkDerivation rec {
mkDerivation rec {
pname = "kvirc";
version = "5.0.0";

@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
pkgconfig cmake gettext
];

meta = with stdenv.lib; {
meta = with lib; {
description = "Advanced IRC Client";
homepage = "http://www.kvirc.net/";
license = licenses.gpl2;
12 changes: 6 additions & 6 deletions pkgs/applications/networking/irc/quassel/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ monolithic ? true # build monolithic Quassel
, daemon ? false # build Quassel daemon
, enableDaemon ? false # build Quassel daemon
, client ? false # build Quassel client
, tag ? "-kf5" # tag added to the package name
, static ? false # link statically
@@ -21,11 +21,11 @@

let
buildClient = monolithic || client;
buildCore = monolithic || daemon;
buildCore = monolithic || enableDaemon;
in

assert monolithic -> !client && !daemon;
assert client || daemon -> !monolithic;
assert monolithic -> !client && !enableDaemon;
assert client || enableDaemon -> !monolithic;
assert !buildClient -> !withKDE; # KDE is used by the client only

let
@@ -63,12 +63,12 @@ in with stdenv; mkDerivation rec {
]
++ edf static "STATIC"
++ edf monolithic "WANT_MONO"
++ edf daemon "WANT_CORE"
++ edf enableDaemon "WANT_CORE"
++ edf client "WANT_QTCLIENT"
++ edf withKDE "WITH_KDE";

preFixup =
lib.optionalString daemon ''
lib.optionalString enableDaemon ''
wrapProgram "$out/bin/quasselcore" --suffix PATH : "${qtbase.bin}/bin"
'' +
lib.optionalString buildClient ''
5 changes: 2 additions & 3 deletions pkgs/data/fonts/vista-fonts/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
fetchzip {
name = "vista-fonts-1";

url = http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe;
url = https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe;

postFetch = ''
${cabextract}/bin/cabextract --lowercase --filter ppviewer.cab $downloadedFile
@@ -21,7 +21,7 @@ fetchzip {
done
'';

sha256 = "1q2d24c203vkl6pwk86frmaj6jra49hr9mydq7cnlx4hilqslw3g";
sha256 = "1l27zg5jraa16zm11d3qz1w7m6f1ih3xy5avww454ylm50fw6z11";

meta = {
description = "Some TrueType fonts from Microsoft Windows Vista (Calibri, Cambria, Candara, Consolas, Constantia, Corbel)";
@@ -31,6 +31,5 @@ fetchzip {
# Set a non-zero priority to allow easy overriding of the
# fontconfig configuration files.
priority = 5;
broken = true; # source url is 404
};
}
9 changes: 8 additions & 1 deletion pkgs/development/libraries/aws-sdk-cpp/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, zlib
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, zlib, fetchpatch
, aws-c-common, aws-c-event-stream, aws-checksums
, CoreAudio, AudioToolbox
, # Allow building a limited set of APIs, e.g. ["s3" "ec2"].
@@ -50,6 +50,13 @@ stdenv.mkDerivation rec {

__darwinAllowLocalNetworking = true;

patches = [
(fetchpatch {
url = "https://github.com/aws/aws-sdk-cpp/commit/42991ab549087c81cb630e5d3d2413e8a9cf8a97.patch";
sha256 = "0myq5cm3lvl5r56hg0sc0zyn1clbkd9ys0wr95ghw6bhwpvfv8gr";
})
];

meta = with lib; {
description = "A C++ interface for Amazon Web Services";
homepage = https://github.com/awslabs/aws-sdk-cpp;
12 changes: 11 additions & 1 deletion pkgs/development/libraries/expat/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, fetchpatch }:

stdenv.mkDerivation rec {
name = "expat-2.2.7";
@@ -8,6 +8,16 @@ stdenv.mkDerivation rec {
sha256 = "067cfhqwiswm4zynw7xaxl59mrrimaiyjhnn8byxma1i98pi1jfb";
};

patches = [
(fetchpatch {
name = "CVE-2019-15903.patch";
url = "https://sources.debian.org/data/main/e/expat/2.2.7-2/debian/patches/CVE-2019-15903_Deny_internal_entities_closing_the_doctype.patch";
sha256 = "0lv4392ihpk71fgaf1fz03gandqkaqisal8xrzvcqnvnq4mnmwxp";
stripLen = 1;
excludes = [ "tests/runtests.c" "Changes" ];
})
];

outputs = [ "out" "dev" ]; # TODO: fix referrers
outputBin = "dev";

12 changes: 10 additions & 2 deletions pkgs/development/libraries/glibc/common.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@

{ stdenv, lib
, buildPackages
, fetchurl ? null
, fetchurl, fetchpatch
, linuxHeaders ? null
, gd ? null, libpng ? null
, bison
@@ -95,7 +95,15 @@ stdenv.mkDerivation ({
]
++ lib.optional stdenv.isx86_64 ./fix-x64-abi.patch
++ lib.optional stdenv.hostPlatform.isMusl ./fix-rpc-types-musl-conflicts.patch
++ lib.optional stdenv.buildPlatform.isDarwin ./darwin-cross-build.patch;
++ lib.optional stdenv.buildPlatform.isDarwin ./darwin-cross-build.patch

# Remove after upgrading to glibc 2.28+
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) (fetchpatch {
url = "https://sourceware.org/git/?p=glibc.git;a=patch;h=780684eb04298977bc411ebca1eadeeba4877833";
name = "correct-pwent-parsing-issue-and-resulting-build.patch";
sha256 = "08fja894vzaj8phwfhsfik6jj2pbji7kypy3q8pgxvsd508zdv1q";
excludes = [ "ChangeLog" ];
});

postPatch =
''
12 changes: 10 additions & 2 deletions pkgs/development/libraries/libdrm/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, pkgconfig, meson, ninja, libpthreadstubs, libpciaccess
, withValgrind ? valgrind-light.meta.available, valgrind-light
, withValgrind ? valgrind-light.meta.available, valgrind-light, fetchpatch
}:

stdenv.mkDerivation rec {
@@ -17,7 +17,15 @@ stdenv.mkDerivation rec {
buildInputs = [ libpthreadstubs libpciaccess ]
++ lib.optional withValgrind valgrind-light;

patches = [ ./cross-build-nm-path.patch ];
patches = [ ./cross-build-nm-path.patch ] ++
lib.optionals stdenv.hostPlatform.isMusl [
# Fix tests not building on musl because they use the glibc-specific
# (non-POSIX) `ioctl()` type signature. See #66441.
(fetchpatch {
url = "https://raw.githubusercontent.com/openembedded/openembedded-core/30a2af80f5f8c8ddf0f619e4f50451b02baa22dd/meta/recipes-graphics/drm/libdrm/musl-ioctl.patch";
sha256 = "0rdmh4k5kb80hhk1sdhlil30yf0s8d8w0fnq0hzyvw3ir1mki3by";
})
];

postPatch = ''
for a in */*-symbol-check ; do
63 changes: 41 additions & 22 deletions pkgs/development/libraries/libwebsockets/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,47 @@
{ fetchFromGitHub, stdenv, cmake, openssl, zlib, libuv }:

stdenv.mkDerivation rec {
pname = "libwebsockets";
version = "3.2.0";

src = fetchFromGitHub {
owner = "warmcat";
repo = "libwebsockets";
rev = "v${version}";
sha256 = "0ac5755h3w1pl6cznqbvg63dwkqy544fqlhvqyp7s11hgs7jx6l8";
let
generic = { version, sha256 }: stdenv.mkDerivation rec {
pname = "libwebsockets";
inherit version;

src = fetchFromGitHub {
owner = "warmcat";
repo = "libwebsockets";
rev = "v${version}";
inherit sha256;
};

buildInputs = [ openssl zlib libuv ];

nativeBuildInputs = [ cmake ];

cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];

meta = with stdenv.lib; {
description = "Light, portable C library for websockets";
longDescription = ''
Libwebsockets is a lightweight pure C library built to
use minimal CPU and memory resources, and provide fast
throughput in both directions.
'';
homepage = "https://libwebsockets.org/";
license = licenses.lgpl21;
platforms = platforms.all;
};
};

buildInputs = [ cmake openssl zlib libuv ];
cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];

meta = {
description = "Light, portable C library for websockets";
longDescription = ''
Libwebsockets is a lightweight pure C library built to
use minimal CPU and memory resources, and provide fast
throughput in both directions.
'';
homepage = https://github.com/warmcat/libwebsockets;
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.all;
in
rec {
libwebsockets_3_1 = generic {
sha256 = "1w1wz6snf3cmcpa3f4dci2nz9za2f5rrylxl109id7bcb36xhbdl";
version = "3.1.0";
};

libwebsockets_3_2 = generic {
version = "3.2.0";
sha256 = "0ac5755h3w1pl6cznqbvg63dwkqy544fqlhvqyp7s11hgs7jx6l8";
};

libwebsockets = libwebsockets_3_2;
}
5 changes: 5 additions & 0 deletions pkgs/development/libraries/qt-5/5.12/default.nix
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ let
qtbase = [
./qtbase.patch
./qtbase-fixguicmake.patch
./qtbase-trayicons.patch # can be removed with 5.12.4 or 5.13
];
qtdeclarative = [ ./qtdeclarative.patch ];
qtscript = [ ./qtscript.patch ];
@@ -67,6 +68,10 @@ let
./qtwebkit-darwin-no-qos-classes.patch
];
qttools = [ ./qttools.patch ];
qtwayland = [
./qtwayland-fix-webengine-freezeups-1.patch # can be removed with 5.12.4 or 5.13
./qtwayland-fix-webengine-freezeups-2.patch # can be removed with 5.12.4 or 5.13
];
};

qtModule =
Loading