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: 5376727cc369
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: a84b797b28eb
Choose a head ref
  • 16 commits
  • 12 files changed
  • 9 contributors

Commits on Jun 8, 2020

  1. sane-airscan: 0.99.0 -> 0.99.3

    (cherry picked from commit 07d3ca8)
    zaninime committed Jun 8, 2020
    Copy the full SHA
    8759f46 View commit details

Commits on Jun 14, 2020

  1. python2Packages.nixpart0/cryptsetup: patch for glibc >= 2.28

    (cherry picked from commit c494fc5)
    pbogdan authored and aszlig committed Jun 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    573b24e View commit details
  2. python2Packages.nixpart0/lvm2: patch for glibc >= 2.28

    (cherry picked from commit 0776d90)
    pbogdan authored and aszlig committed Jun 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    5858bc2 View commit details
  3. python2Packages.nixpart0/multipath_tools: patch for glibc >= 2.28

    (cherry picked from commit eb696ef)
    pbogdan authored and aszlig committed Jun 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    497b215 View commit details
  4. python2Packages.nixpart0/parted: patch for glibc >= 2.28

    (cherry picked from commit 64f4073)
    pbogdan authored and aszlig committed Jun 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    1ecfb2c View commit details
  5. python2Packages.nixpart0/pyblock: patch for glibc >= 2.28

    (cherry picked from commit 912e1e8)
    pbogdan authored and aszlig committed Jun 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    4fa1d54 View commit details
  6. python2Packages.nixpart0/multipath_tools: fixup path to internal libr…

    …aries
    
    (cherry picked from commit 05f1bcc)
    pbogdan authored and aszlig committed Jun 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    daace8a View commit details

Commits on Jun 15, 2020

  1. Merge pull request #89320 from zaninime/sane-airscan-update-20.03

    [20.03] sane-airscan: 0.99.0 -> 0.99.3
    marsam authored Jun 15, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ddeb47c View commit details
  2. Merge pull request #90064 from aszlig/nixpart0-glibc-fixes

    [20.03] Backport of nixpart0 fixes against glibc >= 2.28
    flokli authored Jun 15, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    927d4e6 View commit details
  3. postfix: 3.4.9 -> 3.4.10

    (cherry picked from commit 5c20793)
    r-ryantm authored and dotlambda committed Jun 15, 2020
    Copy the full SHA
    1594eb9 View commit details
  4. postfix: 3.4.10 -> 3.4.12

    `0001-Fix-build-with-glibx-2.30` was removed since the patch is already applied to upstream source.
    
    (cherry picked from commit ae7b57c)
    asbachb authored and dotlambda committed Jun 15, 2020
    Copy the full SHA
    41268a3 View commit details
  5. postfix: 3.4.12 -> 3.4.13

    dotlambda committed Jun 15, 2020
    Copy the full SHA
    4351ace View commit details
  6. Merge pull request #90498 from dotlambda/postfix-3.4.13

    postfix: 3.4.9 -> 3.4.13
    dotlambda authored Jun 15, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d46e037 View commit details
  7. system-config-printer: Fix ABRT: free(): invalid pointer

    Apply patches picked from upstream as done on debian.
    Will be included in next upstream release.
    
    (cherry picked from commit fcecf15)
    maralorn authored and flokli committed Jun 15, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    db0200e View commit details
  8. pycurl: Exclude another flaky test. Fixes #77304

    (cherry picked from commit d29a4e46156b994b00461f8f36233691a26b72ba)
    nh2 authored and Jon committed Jun 15, 2020
    Copy the full SHA
    ae27952 View commit details
  9. pycurl: Exclude flaky multi_timer_test. Fixes #77304

    (cherry picked from commit a6df4a98911e0cf1be889d5e7641494f9f4dad55)
    nh2 authored and Jon committed Jun 15, 2020
    Copy the full SHA
    a84b797 View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/sane/backends/airscan/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, sane-backends, meson, ninja }:
stdenv.mkDerivation rec {
pname = "sane-airscan";
version = "0.99.0";
version = "0.99.3";

nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ avahi libsoup libjpeg libpng sane-backends ];
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "alexpevzner";
repo = pname;
rev = version;
sha256 = "0bbw3s95v5fmkpmmd26v9cf1c40dm85bgxlhs06ski5my803ck0a";
sha256 = "1sxp207vzjzi0ad5202n46acbha4dfmzcijl2v0b9j9lj4k42a8k";
};

meta = with lib; {
6 changes: 5 additions & 1 deletion pkgs/development/python-modules/pycurl/default.nix
Original file line number Diff line number Diff line change
@@ -36,6 +36,8 @@ buildPythonPackage rec {
];

# skip impure or flakey tests
# See also:
# * https://github.com/NixOS/nixpkgs/issues/77304
checkPhase = ''
HOME=$TMPDIR pytest tests -k "not test_ssl_in_static_libs \
and not test_keyfunction \
@@ -44,7 +46,9 @@ buildPythonPackage rec {
and not test_libcurl_ssl_nss \
and not test_libcurl_ssl_openssl" \
--ignore=tests/getinfo_test.py \
--ignore=tests/memory_mgmt_test.py
--ignore=tests/memory_mgmt_test.py \
--ignore=tests/multi_memory_mgmt_test.py \
--ignore=tests/multi_timer_test.py
'';

preConfigure = ''
34 changes: 0 additions & 34 deletions pkgs/servers/mail/postfix/0001-Fix-build-with-glibc-2.30.patch

This file was deleted.

7 changes: 3 additions & 4 deletions pkgs/servers/mail/postfix/default.nix
Original file line number Diff line number Diff line change
@@ -26,11 +26,11 @@ in stdenv.mkDerivation rec {

pname = "postfix";

version = "3.4.9";
version = "3.4.13";

src = fetchurl {
url = "ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/${pname}-${version}.tar.gz";
sha256 = "19rdb92q77japw6gy7niiyj1h3nqfdakkcsq2avn9l160vxrqw54";
sha256 = "1sg7bbfr44bk3pg4n6rbq5bnc4b9v6c9kx2pc7vdm2gzfv0qnxrr";
};

nativeBuildInputs = [ makeWrapper m4 ];
@@ -48,7 +48,6 @@ in stdenv.mkDerivation rec {
./postfix-3.0-no-warnings.patch
./post-install-script.patch
./relative-symlinks.patch
./0001-Fix-build-with-glibc-2.30.patch
];

postPatch = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
@@ -98,7 +97,7 @@ in stdenv.mkDerivation rec {
'';

meta = with lib; {
homepage = http://www.postfix.org/;
homepage = "http://www.postfix.org/";
description = "A fast, easy to administer, and secure mail server";
license = with licenses; [ ipl10 epl20 ];
platforms = platforms.linux;
11 changes: 10 additions & 1 deletion pkgs/tools/filesystems/nixpart/0.4/cryptsetup.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, lvm2, libgcrypt, libuuid, pkgconfig, popt
{ stdenv, fetchurl, fetchpatch, lvm2, libgcrypt, libuuid, pkgconfig, popt
, enablePython ? true, python ? null
}:

@@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
sha256 = "1n1qk5chyjspbiianrdb55fhb4wl0vfyqz2br05vfb24v4qlgbx2";
};

patches = [
# Fix build with glibc >= 2.28
# https://github.com/NixOS/nixpkgs/issues/86403
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-fs/cryptsetup/files/cryptsetup-1.7.1-sysmacros.patch?id=d72316f97ebcc7fe622b21574442a9ac59b9115f";
sha256 = "0xbhazgl44bimqhcrhajk016w9wi7bkrgwyfq13xmrvyrllqvgdx";
})
];

configureFlags = [ "--enable-cryptsetup-reencrypt" ]
++ stdenv.lib.optional enablePython "--enable-python";

8 changes: 4 additions & 4 deletions pkgs/tools/filesystems/nixpart/0.4/default.nix
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ let

cryptsetup = import ./cryptsetup.nix {
inherit stdenv fetchurl python;
inherit (pkgs) pkgconfig libgcrypt libuuid popt lvm2;
inherit (pkgs) fetchpatch pkgconfig libgcrypt libuuid popt lvm2;
};

dmraid = import ./dmraid.nix {
@@ -27,17 +27,17 @@ let

lvm2 = import ./lvm2.nix {
inherit stdenv fetchurl;
inherit (pkgs) pkgconfig utillinux systemd coreutils;
inherit (pkgs) fetchpatch pkgconfig utillinux systemd coreutils;
};

multipath_tools = import ./multipath-tools.nix {
inherit stdenv fetchurl lvm2;
inherit (pkgs) readline systemd libaio gzip;
inherit (pkgs) fetchpatch readline systemd libaio gzip;
};

parted = import ./parted.nix {
inherit stdenv fetchurl;
inherit (pkgs) utillinux readline libuuid gettext check lvm2;
inherit (pkgs) fetchpatch utillinux readline libuuid gettext check lvm2;
};

pyblock = import ./pyblock.nix {
14 changes: 13 additions & 1 deletion pkgs/tools/filesystems/nixpart/0.4/lvm2.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, systemd, utillinux, coreutils }:
{ stdenv, fetchurl, fetchpatch, pkgconfig, systemd, utillinux, coreutils }:

let
v = "2.02.106";
@@ -12,6 +12,18 @@ stdenv.mkDerivation {
sha256 = "0nr833bl0q4zq52drjxmmpf7bs6kqxwa5kahwwxm9411khkxz0vc";
};

patches = [
# Fix build with glibc >= 2.28
# https://github.com/NixOS/nixpkgs/issues/86403
(fetchpatch {
url = "https://github.com/lvmteam/lvm2/commit/92d5a8441007f578e000b492cecf67d6b8a87405.patch";
sha256 = "1yqd6jng0b370k53vks1shg57yhfyribhpmv19km5zsjqf0qqx2d";
excludes = [
"libdm/libdm-stats.c"
];
})
];

configureFlags = [
"--disable-readline"
"--enable-udev_rules"
19 changes: 18 additions & 1 deletion pkgs/tools/filesystems/nixpart/0.4/multipath-tools.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# FIXME: unify with pkgs/os-specific/linux/multipath-tools/default.nix.

{ stdenv, fetchurl, lvm2, libaio, gzip, readline, systemd }:
{ stdenv, fetchurl, fetchpatch, lvm2, libaio, gzip, readline, systemd }:

stdenv.mkDerivation rec {
name = "multipath-tools-0.4.9";
@@ -10,6 +10,18 @@ stdenv.mkDerivation rec {
sha256 = "04n7kazp1zrlqfza32phmqla0xkcq4zwn176qff5ida4a60whi4d";
};

patches = [
# Fix build with glibc >= 2.28
# https://github.com/NixOS/nixpkgs/issues/86403
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-fs/multipath-tools/files/multipath-tools-0.6.4-sysmacros.patch?id=eb22b954c177b5c1e2b6ed5c7cdd02f40f40d757";
sha256 = "1an0cgmz7g03c4qjimhpm9fcf2iswws18lwqxi688k87qm3xb5qd";
excludes = [
"libmultipath/util.c"
];
})
];

sourceRoot = ".";

buildInputs = [ lvm2 libaio readline gzip ];
@@ -26,6 +38,11 @@ stdenv.mkDerivation rec {
substituteInPlace libmultipath/defaults.h --replace /lib/udev/scsi_id ${systemd.lib}/lib/udev/scsi_id
substituteInPlace libmultipath/hwtable.c --replace /lib/udev/scsi_id ${systemd.lib}/lib/udev/scsi_id
sed -i -re '
s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'",
' libmultipath/defaults.h
'';

meta = {
11 changes: 10 additions & 1 deletion pkgs/tools/filesystems/nixpart/0.4/parted.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, lvm2, libuuid, gettext, readline
{ stdenv, fetchurl, fetchpatch, lvm2, libuuid, gettext, readline
, utillinux, check, enableStatic ? false }:

stdenv.mkDerivation rec {
@@ -9,6 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "05fa4m1bky9d13hqv91jlnngzlyn7y4rnnyq6d86w0dg3vww372y";
};

patches = [
# Fix build with glibc >= 2.28
# https://github.com/NixOS/nixpkgs/issues/86403
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-block/parted/files/parted-3.2-sysmacros.patch?id=8e2414f551c14166f259f9a25a594aec7a5b9ea0";
sha256 = "0fdgifjbri7n28hv74zksac05gw72p2czzvyar0jp62b9dnql3mp";
})
];

buildInputs = [ libuuid ]
++ stdenv.lib.optional (readline != null) readline
++ stdenv.lib.optional (gettext != null) gettext
12 changes: 12 additions & 0 deletions pkgs/tools/filesystems/nixpart/0.4/pyblock-sysmacros.h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/dm.c b/dm.c
index 5daa0e5..d5b84c8 100644
--- a/dm.c
+++ b/dm.c
@@ -19,6 +19,7 @@
#define _GNU_SOURCE
#include <sys/stat.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdarg.h>
6 changes: 6 additions & 0 deletions pkgs/tools/filesystems/nixpart/0.4/pyblock.nix
Original file line number Diff line number Diff line change
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "f6cef88969300a6564498557eeea1d8da58acceae238077852ff261a2cb1d815";
};

patches = [
# Fix build with glibc >= 2.28
# https://github.com/NixOS/nixpkgs/issues/86403
./pyblock-sysmacros.h.patch
];

postPatch = ''
sed -i -e 's|/usr/include/python|${python}/include/python|' \
-e 's/-Werror *//' -e 's|/usr/|'"$out"'/|' Makefile
17 changes: 15 additions & 2 deletions pkgs/tools/misc/system-config-printer/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook
{ stdenv, fetchFromGitHub, fetchpatch, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook
, docbook_xml_dtd_412, docbook_xsl
, libxml2, desktop-file-utils, libusb1, cups, gdk-pixbuf, pango, atk, libnotify
, gobject-introspection, libsecret, packagekit
@@ -24,7 +24,20 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile.am --replace /bin/bash ${bash}/bin/bash
'';

patches = [ ./detect_serverbindir.patch ];
patches = [
./detect_serverbindir.patch

# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958104
# (Fixes will be included in next upstream release.)
(fetchpatch {
url = "https://github.com/OpenPrinting/system-config-printer/commit/cf9903466c1a2d18a701f3b5e8c7e03483e1244d.patch";
sha256 = "03gpav618w50q90m2kdkgwclc7fv17m493fgjd633zfavb5kqr3n";
})
(fetchpatch {
url = "https://github.com/OpenPrinting/system-config-printer/commit/b9289dfe105bdb502f183f0afe7a115ecae5f2af.patch";
sha256 = "12w47hy3ly4phh8jcqxvdnd5sgbnbp8dnscjd7d5y2i43kxj7b23";
})
];

buildInputs = [
glib udev libusb1 cups