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: 9df3c53f38b3
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: 49a6964a4250
Choose a head ref
  • 13 commits
  • 14 files changed
  • 8 contributors

Commits on Apr 25, 2018

  1. Fix root volume resizing on EC2 KVM instances (M5, C5, etc)

    This is a backport of #39164 PR
    Ihor Antonov committed Apr 25, 2018
    Copy the full SHA
    4be6922 View commit details

Commits on Jun 4, 2018

  1. Do not kill udev during boot

    Ihor Antonov committed Jun 4, 2018
    Copy the full SHA
    07ba0ed View commit details
  2. Merge branch 'release-18.03' of github.com:ngortheone/nixpkgs into re…

    …lease-18.03
    Ihor Antonov committed Jun 4, 2018
    Copy the full SHA
    654a572 View commit details
  3. dbeaver: 5.0.6 -> 5.1.0

    (cherry picked from commit 35a188a1f936cfee2dd8647fb7956bbc5206e595)
    samueldr committed Jun 4, 2018
    Copy the full SHA
    cd6e687 View commit details

Commits on Jun 5, 2018

  1. Merge pull request #41469 from samueldr/auto/dbeaver/nixos-18.03/5.1.0

    dbeaver: 5.0.6 -> 5.1.0 (18.03)
    xeji authored Jun 5, 2018
    Copy the full SHA
    099528b View commit details
  2. qgis: 2.18.17 -> 2.18.20 (#41195)

    (cherry picked from commit e48b54c)
    Signed-off-by: Lancelot SIX <lsix@lancelotsix.com>
    lsix committed Jun 5, 2018
    Copy the full SHA
    0aea622 View commit details
  3. spl, zfs: 0.7.8 -> 0.7.9, unstable to latest (#41093)

    (cherry picked from commit c5a088b)
    lopsided98 authored and xeji committed Jun 5, 2018
    Copy the full SHA
    aae7d68 View commit details
  4. linux: 4.9.105 -> 4.9.106

    (cherry picked from commit 967467c)
    NeQuissimus committed Jun 5, 2018
    Copy the full SHA
    4bb86e8 View commit details
  5. linux: 4.14.47 -> 4.14.48

    (cherry picked from commit 661721f)
    NeQuissimus committed Jun 5, 2018
    Copy the full SHA
    a167462 View commit details
  6. linux: 4.16.13 -> 4.16.14

    (cherry picked from commit 6842319)
    NeQuissimus committed Jun 5, 2018
    Copy the full SHA
    c7137f0 View commit details
  7. Merge pull request #41456 from ngortheone/release-18.03

    Do not kill udev during boot
    copumpkin authored Jun 5, 2018
    Copy the full SHA
    fb16f66 View commit details
  8. grub-config.xml: handle a null font

    (cherry picked from commit 52de38f)
    grahamc committed Jun 5, 2018
    Copy the full SHA
    4da554d View commit details
  9. install-grub: only try to loadfont if font is not null

    (cherry picked from commit ab889c1)
    grahamc committed Jun 5, 2018
    Copy the full SHA
    49a6964 View commit details
5 changes: 5 additions & 0 deletions nixos/maintainers/scripts/ec2/amazon-image.nix
Original file line number Diff line number Diff line change
@@ -8,6 +8,11 @@ in {

imports = [ ../../../modules/virtualisation/amazon-image.nix ];

# Required to provide good EBS experience,
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html#timeout-nvme-ebs-volumes
# TODO change value to 4294967295 when kernel is updated to 4.15 or later
config.boot.kernelParams = [ "nvme_core.io_timeout=255" ];

options.amazonImage = {
name = mkOption {
type = types.str;
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/grow-partition.nix
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ with lib;

boot.initrd.postDeviceCommands = ''
rootDevice="${config.fileSystems."/".device}"
if [ -e "$rootDevice" ]; then
if waitDevice "$rootDevice"; then
rootDevice="$(readlink -f "$rootDevice")"
parentDevice="$rootDevice"
while [ "''${parentDevice%[0-9]}" != "''${parentDevice}" ]; do
5 changes: 3 additions & 2 deletions nixos/modules/system/boot/loader/grub/grub.nix
Original file line number Diff line number Diff line change
@@ -64,9 +64,10 @@ let
)) + ":" + (makeSearchPathOutput "bin" "sbin" [
pkgs.mdadm pkgs.utillinux
]);
font = if lib.last (lib.splitString "." cfg.font) == "pf2"
font = if cfg.font == null then ""
else (if lib.last (lib.splitString "." cfg.font) == "pf2"
then cfg.font
else "${convertedFont}";
else "${convertedFont}");
});

bootDeviceCounters = fold (device: attr: attr // { "${device}" = (attr."${device}" or 0) + 1; }) {}
26 changes: 14 additions & 12 deletions nixos/modules/system/boot/loader/grub/install-grub.pl
Original file line number Diff line number Diff line change
@@ -281,22 +281,24 @@ sub GrubFs {
else
insmod vbe
fi
insmod font
if loadfont " . $grubBoot->path . "/converted-font.pf2; then
insmod gfxterm
if [ \"\${grub_platform}\" = \"efi\" ]; then
set gfxmode=$gfxmodeEfi
set gfxpayload=keep
else
set gfxmode=$gfxmodeBios
set gfxpayload=text
fi
terminal_output gfxterm
fi
";

if ($font) {
copy $font, "$bootPath/converted-font.pf2" or die "cannot copy $font to $bootPath\n";
$conf .= "
insmod font
if loadfont " . $grubBoot->path . "/converted-font.pf2; then
insmod gfxterm
if [ \"\${grub_platform}\" = \"efi\" ]; then
set gfxmode=$gfxmodeEfi
set gfxpayload=keep
else
set gfxmode=$gfxmodeBios
set gfxpayload=text
fi
terminal_output gfxterm
fi
";
}
if ($splashImage) {
# FIXME: GRUB 1.97 doesn't resize the background image if it
51 changes: 26 additions & 25 deletions nixos/modules/system/boot/stage-1-init.sh
Original file line number Diff line number Diff line change
@@ -74,6 +74,32 @@ ln -s /proc/mounts /etc/mtab # to shut up mke2fs
touch /etc/udev/hwdb.bin # to shut up udev
touch /etc/initrd-release

# Function for waiting a device to appear.
waitDevice() {
local device="$1"

# USB storage devices tend to appear with some delay. It would be
# great if we had a way to synchronously wait for them, but
# alas... So just wait for a few seconds for the device to
# appear.
if test ! -e $device; then
echo -n "waiting for device $device to appear..."
try=20
while [ $try -gt 0 ]; do
sleep 1
# also re-try lvm activation now that new block devices might have appeared
lvm vgchange -ay
# and tell udev to create nodes for the new LVs
udevadm trigger --action=add
if test -e $device; then break; fi
echo -n "."
try=$((try - 1))
done
echo
[ $try -ne 0 ]
fi
}

# Mount special file systems.
specialMount() {
local device="$1"
@@ -377,31 +403,6 @@ lustrateRoot () {
exec 4>&-
}
# Function for waiting a device to appear.
waitDevice() {
local device="$1"
# USB storage devices tend to appear with some delay. It would be
# great if we had a way to synchronously wait for them, but
# alas... So just wait for a few seconds for the device to
# appear.
if test ! -e $device; then
echo -n "waiting for device $device to appear..."
try=20
while [ $try -gt 0 ]; do
sleep 1
# also re-try lvm activation now that new block devices might have appeared
lvm vgchange -ay
# and tell udev to create nodes for the new LVs
udevadm trigger --action=add
if test -e $device; then break; fi
echo -n "."
try=$((try - 1))
done
echo
[ $try -ne 0 ]
fi
}
# Try to resume - all modules are loaded now.
7 changes: 0 additions & 7 deletions nixos/modules/virtualisation/amazon-image.nix
Original file line number Diff line number Diff line change
@@ -48,13 +48,6 @@ let cfg = config.ec2; in
boot.loader.grub.extraPerEntryConfig = mkIf (!cfg.hvm) "root (hd0)";
boot.loader.timeout = 0;

boot.initrd.postDeviceCommands =
''
# Force udev to exit to prevent random "Device or resource busy
# while trying to open /dev/xvda" errors from fsck.
udevadm control --exit || true
'';

boot.initrd.network.enable = true;

# Mount all formatted ephemeral disks and activate all swap devices.
4 changes: 2 additions & 2 deletions pkgs/applications/gis/qgis/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
}:

stdenv.mkDerivation rec {
name = "qgis-2.18.17";
name = "qgis-2.18.20";

buildInputs = [ gdal qt4 flex openssl bison proj geos xlibsWrapper sqlite gsl qwt qscintilla
fcgi libspatialindex libspatialite postgresql qjson qca2 txt2tags ] ++
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "http://qgis.org/downloads/${name}.tar.bz2";
sha256 = "1nxwl5lwibbiz9v3qaw3px7iyxg113zr4j8d99yj07mhk2ap082y";
sha256 = "0bm9sv268lc3v48zjypsjjs62xnyb7zabzrms4jsy020waz6sk9g";
};

cmakeFlags = stdenv.lib.optional withGrass "-DGRASS_PREFIX7=${grass}/${grass.name}";
4 changes: 2 additions & 2 deletions pkgs/applications/misc/dbeaver/default.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

stdenv.mkDerivation rec {
name = "dbeaver-ce-${version}";
version = "5.0.6";
version = "5.1.0";

desktopItem = makeDesktopItem {
name = "dbeaver";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
sha256 = "12crrazlfzvr1c6y33z7v4z7ip9pjbzki8cw15v5d2irkpa710ky";
sha256 = "041wqlipkwk4xp3qa4rrwyw6rgsn1ppv25qb4h2mkhrsjcjagqhj";
};

installPhase = ''
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.14.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
with stdenv.lib;

buildLinux (args // rec {
version = "4.14.47";
version = "4.14.48";

# branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "06c8kl9f0s5qmqh9l16y1q7r44ld56kd0a00722c3aivddm3nav7";
sha256 = "1f92pz92mf0x9jfv3qf4w40i78l053f2qh2n8p2sbrqzc67n1840";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.16.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
with stdenv.lib;

buildLinux (args // rec {
version = "4.16.13";
version = "4.16.14";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1qzj5mbkxkrpmnwws8vdz292gp863kybrgr9bvgs7v28plx7n2kg";
sha256 = "1h6zjnwpdyqk9fp72c35565lhw00kpjl55faakwx7xsxfpyvc25p";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.9.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:

buildLinux (args // rec {
version = "4.9.105";
version = "4.9.106";
extraMeta.branch = "4.9";

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1i3dv7lvh7b08943iw45j0x99878wia83fribbgxn7xcwcld51fh";
sha256 = "0g5y3ckwb1zn8gzsk1sc6vnmsrvsx5g2a1p0p9hrmsl8jnr9nh1d";
};
} // (args.argsOverride or {}))
12 changes: 6 additions & 6 deletions pkgs/os-specific/linux/spl/default.nix
Original file line number Diff line number Diff line change
@@ -62,15 +62,15 @@ in
assert kernel != null;
{
splStable = common {
version = "0.7.8";
sha256 = "0ypyy7ij280n7rly6ifrvna9k55gxwdx9a7lalf4r1ka714379fi";
patches = [ ./install_prefix-0.7.8.patch ];
version = "0.7.9";
sha256 = "0540m1dv9jvrzk9kw61glg0h0cwj976mr9zb42y3nh17k47ywff0";
patches = [ ./install_prefix-0.7.9.patch ];
};

splUnstable = common {
version = "2018-04-10";
rev = "9125f8f5bdb36bfbd2d816d30b6b29b9f89ae3d8";
sha256 = "00zrbca906rzjd62m4khiw3sdv8x18dapcmvkyaawripwvzc4iri";
version = "2018-05-07";
rev = "1149b62d20b7ed9d8ae25d5da7a06213d79b7602";
sha256 = "07qlx7l23y696gzyy7ynly7n1141w66y21gkmxiia2xwldj8klkx";
patches = [ ./install_prefix.patch ];
};

Original file line number Diff line number Diff line change
@@ -112,18 +112,6 @@ index 581083e..0c35fb7 100644
+kerneldir = @prefix@/libexec/spl/include/sys/fs
kernel_HEADERS = $(KERNEL_H)
endif
diff --git a/include/sys/sysevent/Makefile.am b/include/sys/sysevent/Makefile.am
index 63d9af3..de1aa18 100644
--- a/include/sys/sysevent/Makefile.am
+++ b/include/sys/sysevent/Makefile.am
@@ -8,6 +8,6 @@ USER_H =
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)

if CONFIG_KERNEL
-kerneldir = @prefix@/src/spl-$(VERSION)/include/sys/sysevent
+kerneldir = @prefix@/libexec/spl/include/sys/sysevent
kernel_HEADERS = $(KERNEL_H)
endif
diff --git a/include/util/Makefile.am b/include/util/Makefile.am
index e2bf09f..3f5d6ce 100644
--- a/include/util/Makefile.am
10 changes: 5 additions & 5 deletions pkgs/os-specific/linux/zfs/default.nix
Original file line number Diff line number Diff line change
@@ -151,9 +151,9 @@ in {
incompatibleKernelVersion = "4.16";

# this package should point to the latest release.
version = "0.7.8";
version = "0.7.9";

sha256 = "0m7j5cpz81lqcfbh4w3wvqjjka07wickl27klgy1zplv6vr0baix";
sha256 = "0krpxrvnda2jx6l71xhw9fsksyp2a6h9l9asppac3szsd1n7fp9n";

extraPatches = [
(fetchpatch {
@@ -170,10 +170,10 @@ in {
incompatibleKernelVersion = "4.16";

# this package should point to a version / git revision compatible with the latest kernel release
version = "2018-04-10";
version = "2018-05-22";

rev = "74df0c5e251a920a1966a011c16f960cd7ba562e";
sha256 = "1x3mipj3ryznnd7kx84r3n607hv6jqs66mb61g3zcdmvk6al4yq4";
rev = "ba863d0be4cbfbea938b10e49fb6ff459ac9ec20";
sha256 = "11dhigw1gybalwg2m6si148b6w195dj2lw38snqf6576wb5zndd0";
isUnstable = true;

extraPatches = [