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: db31e48c5c8d
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: 927d4e68500c
Choose a head ref
  • 12 commits
  • 10 files changed
  • 6 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

    Verified

    This commit was signed with the committer’s verified signature.
    alexarice Alex Rice
    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. The key has expired.
    mweinelt Martin Weinelt
    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. The key has expired.
    mweinelt Martin Weinelt
    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
    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
    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
    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. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    daace8a View commit details
  7. bbswitch: fix build with Linux kernel version >= 5.6.0

    Fixes NixOS/nixpkgs#85564.
    
    (cherry picked from commit 00222db)
    peti authored and thiagokokada committed Jun 14, 2020
    Copy the full SHA
    126fb3a View commit details

Commits on Jun 15, 2020

  1. intltool: add a backup url for a patch

    Fixes:
    
      Failed to connect to sources.debian.org port 443: Connection timed out
    
    (cherry picked from commit df4c3b0)
    cc #86523
    veprbl committed Jun 15, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    10e5f1f View commit details
  2. Merge pull request #90407 from thiagokokada/release-20.03

    bbswitch: fix build with Linux kernel version >= 5.6.0
    peti authored Jun 15, 2020
    Copy the full SHA
    5376727 View commit details
  3. 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
    Copy the full SHA
    ddeb47c View commit details
  4. Merge pull request #90064 from aszlig/nixpart0-glibc-fixes

    [20.03] Backport of nixpart0 fixes against glibc >= 2.28
    flokli authored Jun 15, 2020
    Copy the full SHA
    927d4e6 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: 4 additions & 2 deletions pkgs/development/tools/misc/intltool/default.nix
Original file line number Diff line number Diff line change
@@ -12,8 +12,10 @@ stdenv.mkDerivation rec {
# fix "unescaped left brace" errors when using intltool in some cases
patches = [(fetchpatch {
name = "perl5.26-regex-fixes.patch";
url = "https://sources.debian.org/data/main/i/intltool/0.51.0-5"
+ "/debian/patches/perl5.26-regex-fixes.patch";
url = [
"https://sources.debian.org/data/main/i/intltool/0.51.0-5/debian/patches/perl5.26-regex-fixes.patch"
"https://src.fedoraproject.org/rpms/intltool/raw/d8d2ef29fb122a42a6b6678eb1ec97ae56902af2/f/intltool-perl5.26-regex-fixes.patch"
];
sha256 = "12q2140867r5d0dysly72khi7b0mm2gd7nlm1k81iyg7fxgnyz45";
})];

14 changes: 10 additions & 4 deletions pkgs/os-specific/linux/bbswitch/default.nix
Original file line number Diff line number Diff line change
@@ -15,10 +15,16 @@ stdenv.mkDerivation {
sha256 = "0xql1nv8dafnrcg54f3jsi3ny3cd2ca9iv73pxpgxd2gfczvvjkn";
};

patches = [ (fetchpatch {
url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch";
sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
}) ];
patches = [
(fetchpatch {
url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch";
sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
})
(fetchpatch {
url = "https://github.com/Bumblebee-Project/bbswitch/pull/196.patch";
sha256 = "02ihy3piws7783qbm9q0mb9s18ipn5ckdy1iar74xn31qjrsn99n";
})
];

nativeBuildInputs = kernel.moduleBuildDependencies;

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