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: a2037bb23809^
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: ddc2ad4e2e1d
Choose a head ref

Commits on Mar 6, 2018

  1. avidemux: restrict platforms

    (cherry picked from commit 1f8d30f)
    abbradar committed Mar 6, 2018
    Copy the full SHA
    a2037bb View commit details
  2. Merge pull request #36360 from dtzWill/fix/nix-use-brotli-for-sanity

    nix: fix conditional so brotli is used w/2.0 builds, needed for logs!
    (cherry picked from commit 40f9a3e)
    edolstra authored and vcunat committed Mar 6, 2018
    Copy the full SHA
    66a621d View commit details

Commits on Mar 7, 2018

  1. dxx-rebirth: fix compilation with gcc7

    (cherry picked from commit 2e20630)
    peterhoeg committed Mar 7, 2018
    Copy the full SHA
    5b18373 View commit details
  2. primusLib: build only for x86 Linux

    (cherry picked from commit 41939f2)
    abbradar committed Mar 7, 2018
    Copy the full SHA
    5868f9a View commit details
  3. megatools: 1.9.98 -> 2017-10-26

    Old version doesn't work with new Mega API.
    
    (cherry picked from commit b6a2833)
    abbradar committed Mar 7, 2018
    Copy the full SHA
    0e44dd1 View commit details
  4. parole: remove icon cache file from output

    Adds hicolor-icon-theme as a build input to use its build hook to
    clean up icon cache files.
    
    (cherry picked from commit 0203ab2)
    rycee authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    141aec6 View commit details
  5. xfce4-timer-plugin: remove icon cache file from output

    Adds hicolor-icon-theme as a build input to use its build hook to
    clean up icon cache files.
    
    (cherry picked from commit c7f4020)
    rycee authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    8e75367 View commit details
  6. newsbeuter: dead and obsoleted by newsboat

    (cherry picked from commit 1fb08b9)
    globin authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    a2ab45f View commit details
  7. grive: remove

    dead and obsoleted by grive2
    
    (cherry picked from commit fe7039b)
    globin authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    b508885 View commit details
  8. json-c-0-11: remove

    (cherry picked from commit ddba7e3)
    globin authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    7539b80 View commit details
  9. Merge pull request #36350 from volth/nix-serve

    nix-serve: nix 2.0 fixes
    (cherry picked from commit 5fe1be8)
    Mic92 authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    487731b View commit details
  10. Merge pull request #36353 from xeji/xen-4-8

    xen 4.8: fix gcc7-related build errors
    
    (cherry picked from commit c7a92f3)
    Mic92 authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    77d3830 View commit details
  11. Merge pull request #36250 from sengaya/add-ansible-lint

    ansible-lint: init at 3.4.20
    (cherry picked from commit 07bc1dd)
    Mic92 authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    4fb6f7b View commit details
  12. Merge pull request #36375 from volth/commandLineArgs-escaping

    chromium, google-chrome: fix escaping of commandLineArgs
    
    (cherry picked from commit da97c73)
    7c6f434c authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    4d64739 View commit details
  13. Merge pull request #36380 from xeji/xen-4-8-xsa

    xen 4.8: add xsa security patches 252-256
    
    (cherry picked from commit 346e68d)
    7c6f434c authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    05ddccd View commit details
  14. Merge pull request #36275 from oxij/lib/maintainers-list

    lib: rename maintainers-list.nix into maintainers/maintainer-list.nix
    (cherry picked from commit 1bd790d)
    The intention is to reduce conflicts during maintenance.
    7c6f434c authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    f43ea6e View commit details
  15. Merge pull request #36343 from bignaux/soulseekqt

    soulseekqt: init at 2016-1-17 (last official stable)
    (cherry picked from commit 9cfeabb)
    nlewo authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    1bebf7a View commit details
  16. trinity: Fix 32-bit build

    (cherry picked from commit 2372e93)
    dezgeg authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    6569c4f View commit details
  17. Merge pull request #36389 from cpages/sdl2

    Sdl2 and friends update
    
    (cherry picked from commit c8664a2)
    Security fixes inside, reportedly.
    7c6f434c authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    7b987e2 View commit details
  18. SDL2_gfx: update homepage

    (cherry picked from commit 5eb70d3)
    cpages authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    d0aa15a View commit details
  19. maintainers: remove wrong info

    I tried to contact bjg through mail but got no answer and can't find his
    actual github account.
    
    (cherry picked from commit 15ddc6f)
    cpages authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    2c1addb View commit details
  20. nixos doc: give context and definition re NIXOS_LUSTRATE

    Re #36272
    
    (cherry picked from commit ee9a785)
    obadz authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    4069dab View commit details
  21. restic: update project website (#36408)

    * restic: update project website
    
    The project website has changed, so I updated it.
    
    * restic: no trailing slash
    
    (cherry picked from commit 8154f9e)
    mbrgm authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    fa64b9e View commit details
  22. Merge pull request #36403 from elts/fix/cl-launch

    cl-launch: change platforms to unix
    (cherry picked from commit 07be75d)
    7c6f434c authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    e4f2f02 View commit details
  23. nixUnstable: Point to Nix 2.0

    (cherry picked from commit 1deb779)
    edolstra authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    b0eb9ec View commit details
  24. cups: fix path to socket and run directory

    We use default /var/run/cups/cups.sock in NixOS but here it's misdefined to be
    /run/cups.sock. Return it to default.
    
    (cherry picked from commit 998fdfd)
    abbradar authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    9b53db5 View commit details
  25. cups service: fix client sockets

    Use systemd to create the directory for UNIX socket. Also use localhost instead
    of 127.0.0.1 as is done in default cupsd.conf so that IPv6 is enabled when
    available.
    
    (cherry picked from commit 9c1c424)
    abbradar authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    6b3d6a9 View commit details
  26. Merge pull request #35421 from flokli/CVE-zziplib-0.13.67

    zziplib: 0.13.67 -> 0.13.68
    (cherry picked from commit 6f13032)
    Security fixes inside.
    adisbladis authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    f93e902 View commit details
  27. libdrm: 2.4.89 -> 2.4.90

    (cherry picked from commit b647696)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    b759739 View commit details
  28. mesa: 17.3.3 -> 17.3.5 (maintenance)

    (cherry picked from commit ddb4227)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    fee0322 View commit details
  29. Merge #34878: fontconfig: Fix for HFS+ 1s date resolution

    (cherry picked from commit 753db3e)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    8022ebc View commit details
  30. Merge #35113: cups: upstream patch for a bug

    (cherry picked from commit e719327)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    8056287 View commit details
  31. gtk3: 3.22.26 -> 3.22.28 (maintenance)

    (cherry picked from commit 01bf838)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    e4fe0e4 View commit details
  32. Merge #35370: texlive.bin: fix with poppler 0.62

    (cherry picked from commit 63ca2cc)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    4dd70f9 View commit details
  33. texlive.bin: Fix duplicate patch definition

    (cherry picked from commit 1ad37a8)
    shlevy authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    48a724c View commit details
  34. lightdm-gtk-greeter: fix build by ignoring a warning

    (cherry picked from commit 0479e91)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    69a3a1d View commit details
  35. Merge pull request #35674 from dtzWill/fix/llvm-4-cmdline-help

    llvm_4: fix cosmetic issue in help output
    
    (cherry picked from commit 3092659)
    dtzWill authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    70e1ebe View commit details
  36. Merge pull request #35349 from matthewbauer/qt5-darwin-pkgconfig

    qt5: install pkg_config files on darwin
    (cherry picked from commit b4cf3f7)
    LnL7 authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    c6de8f3 View commit details
  37. Merge pull request #36203 from lsix/libunistring_0.9.9

    libunistring: 0.9.8 -> 0.9.9
    (cherry picked from commit ad338b8)
    It claims to contain a single bugfix only.
    Mic92 authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    52859c4 View commit details
  38. mesa: 17.3.5 -> 17.3.6 (bugfix)

    It's emergency bugfix for intel.
    
    (cherry picked from commit 6a9ab8d)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    eec9999 View commit details
  39. nspr: 4.17 -> 4.18

    Semi-automatic update. These checks were performed:
    
    - built on NixOS
    - found 4.18 with grep in /nix/store/23322yndj5lh6n4pr3maj26irnwklq31-nspr-4.18
    - found 4.18 in filename of file in /nix/store/23322yndj5lh6n4pr3maj26irnwklq31-nspr-4.18
    
    (cherry picked from commit 52b2e79)
    We would probably have to pick it soon anyway, due to Firefox updates.
    ryantm authored and vcunat committed Mar 7, 2018
    Copy the full SHA
    03dc796 View commit details
  40. Revert "Merge #35370: texlive.bin: fix with poppler 0.62"

    This reverts commit 4dd70f9.
    It actually broke texlive - I somehow forgot we don't have the new
    poppler in 18.03.
    vcunat committed Mar 7, 2018
    Copy the full SHA
    c43e04d View commit details
  41. Copy the full SHA
    5f98ff2 View commit details
  42. gajim: add plugin installer

    It's not included into repository checkout (which we use because of tests), so
    get it from release tarball instead.
    
    (cherry picked from commit 9edd4c8)
    abbradar committed Mar 7, 2018
    Copy the full SHA
    01f9a70 View commit details
  43. nixos/release: fix evaluation if missing x86

    ... in supportedSystems
    
    (cherry picked from commit e59b91b)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    aa84b58 View commit details
  44. nixos release: more evaluation fixes

    ... if missing x86 in supportedSystems
    
    (cherry picked from commit eab479a)
    vcunat committed Mar 7, 2018
    Copy the full SHA
    82bb0a1 View commit details
  45. gdb: Flexible target matching for darwin

    Outside of the nix-build the target is `x86_64-apple-darwin17.4.0`,
    while inside the target is `x86_64-apple-darwin`. This difference
    causes the fallback target configuration for darwin, which disables
    gdb. Add a patch to make the target matching more flexible.
    
    (cherry picked from commit 4c76a21)
    (cherry picked from commit fe0728f)
    thefloweringash authored and LnL7 committed Mar 7, 2018
    Copy the full SHA
    17ff10a View commit details
  46. git-sizer: init at 1.0.0

    (cherry picked from commit 0b04beb)
    matthewbauer authored and LnL7 committed Mar 7, 2018
    Copy the full SHA
    bf5e7c4 View commit details

Commits on Mar 8, 2018

  1. syncthing: 0.14.44 -> 0.14.45

    (cherry picked from commit 05412c9)
    peterhoeg committed Mar 8, 2018
    Copy the full SHA
    df63bd6 View commit details
  2. maintainer-list: Change my email address

    (cherry picked from commit 300e272)
    jgeerds committed Mar 8, 2018
    Copy the full SHA
    0feab3d View commit details
Showing 353 changed files with 11,500 additions and 8,189 deletions.
2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ let

# packaging
customisation = callLibs ./customisation.nix;
maintainers = import ./maintainers-list.nix;
maintainers = import ../maintainers/maintainer-list.nix;
meta = callLibs ./meta.nix;
sources = callLibs ./sources.nix;
versions = callLibs ./versions.nix;
18 changes: 11 additions & 7 deletions lib/maintainers-list.nix → maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -314,6 +314,11 @@
github = "amiloradovsky";
name = "Andrew Miloradovsky";
};
aminechikhaoui = {
email = "amine.chikhaoui91@gmail.com";
github = "AmineChikhaoui";
name = "Amine Chikhaoui";
};
amorsillo = {
email = "andrew.morsillo@gmail.com";
github = "AndrewMorsillo";
@@ -555,7 +560,6 @@
};
bjg = {
email = "bjg@gnu.org";
github = "civodul";
name = "Brian Gough";
};
bjornfor = {
@@ -632,11 +636,6 @@
github = "calbrecht";
name = "Christian Albrecht";
};
calrama = {
email = "moritz@ucworks.org";
github = "MoritzMaxeiner";
name = "Moritz Maxeiner";
};
calvertvl = {
email = "calvertvl@gmail.com";
github = "calvertvl";
@@ -1663,7 +1662,7 @@
name = "Johannes Frankenau";
};
jgeerds = {
email = "jascha@jgeerds.name";
email = "jascha@geerds.org";
github = "jgeerds";
name = "Jascha Geerds";
};
@@ -3155,6 +3154,11 @@
github = "sellout";
name = "Greg Pfeil";
};
sengaya = {
email = "tlo@sengaya.de";
github = "sengaya";
name = "Thilo Uttendorfer";
};
sepi = {
email = "raffael@mancini.lu";
github = "sepi";
4 changes: 2 additions & 2 deletions maintainers/scripts/update-python-libraries
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p 'python3.withPackages(ps: with ps; [ packaging requests toolz ])' -p git
#! nix-shell -i python3 -p "python3.withPackages(ps: with ps; [ packaging requests toolz ])" -p git

"""
Update a Python package expression by passing in the `.nix` file, or the directory containing it.
@@ -358,4 +358,4 @@ def main():


if __name__ == '__main__':
main()
main()
12 changes: 12 additions & 0 deletions nixos/doc/manual/installation/installing-from-other-distro.xml
Original file line number Diff line number Diff line change
@@ -227,6 +227,18 @@ $ sudo groupdel nixbld</screen>
line)</para></listitem>
</itemizedlist>

<note><para>Support for <literal>NIXOS_LUSTRATE</literal> was added
in NixOS 16.09. The act of "lustrating" refers to the
wiping of the existing distribution. Creating
<literal>/etc/NIXOS_LUSTRATE</literal> can also be used on
NixOS to remove all mutable files from your root partition
(anything that's not in <literal>/nix</literal> or
<literal>/boot</literal> gets "lustrated" on the next
boot.</para>
<para>lustrate /ˈlʌstreɪt/ verb.</para>
<para>purify by expiatory sacrifice, ceremonial washing, or
some other ritual action.</para></note>

<para>Let's create the files:</para>

<screen>
2 changes: 1 addition & 1 deletion nixos/modules/installer/tools/nixos-rebuild.sh
Original file line number Diff line number Diff line change
@@ -382,6 +382,6 @@ fi
if [ "$action" = build-vm ]; then
cat >&2 <<EOF
Done. The virtual machine can be started by running $(echo $pathToConfig/bin/run-*-vm).
Done. The virtual machine can be started by running $(echo $pathToConfig/bin/run-*-vm)
EOF
fi
2 changes: 2 additions & 0 deletions nixos/modules/installer/virtualbox-demo.nix
Original file line number Diff line number Diff line change
@@ -19,4 +19,6 @@ with lib;
# Add some more video drivers to give X11 a shot at working in
# VMware and QEMU.
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];

powerManagement.enable = false;
}
2 changes: 1 addition & 1 deletion nixos/modules/misc/version.nix
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ in
defaultChannel = mkOption {
internal = true;
type = types.str;
default = https://nixos.org/channels/nixos-unstable;
default = https://nixos.org/channels/nixos-18.03;
description = "Default NixOS channel to which the root user is subscribed.";
};

6 changes: 6 additions & 0 deletions nixos/modules/profiles/demo.nix
Original file line number Diff line number Diff line change
@@ -10,4 +10,10 @@
password = "demo";
uid = 1000;
};

services.xserver.displayManager.sddm.autoLogin = {
enable = true;
relogin = true;
user = "demo";
};
}
2 changes: 1 addition & 1 deletion nixos/modules/programs/bash/bash.nix
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ in
programs.bash = {

shellInit = ''
. ${config.system.build.setEnvironment}
${config.system.build.setEnvironment.text}
${cfge.shellInit}
'';
2 changes: 1 addition & 1 deletion nixos/modules/programs/zsh/zsh.nix
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ in
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
export __ETC_ZSHENV_SOURCED=1
. ${config.system.build.setEnvironment}
${config.system.build.setEnvironment.text}
${cfge.shellInit}
2 changes: 2 additions & 0 deletions nixos/modules/services/networking/nix-serve.nix
Original file line number Diff line number Diff line change
@@ -55,6 +55,8 @@ in
environment.NIX_SECRET_KEY_FILE = cfg.secretKeyFile;

serviceConfig = {
Restart = "always";
RestartSec = "5s";
ExecStart = "${pkgs.nix-serve}/bin/nix-serve " +
"--listen ${cfg.bindAddress}:${toString cfg.port} ${cfg.extraParams}";
User = "nix-serve";
7 changes: 1 addition & 6 deletions nixos/modules/services/networking/resilio.nix
Original file line number Diff line number Diff line change
@@ -50,12 +50,7 @@ in
description = ''
If enabled, start the Resilio Sync daemon. Once enabled, you can
interact with the service through the Web UI, or configure it in your
NixOS configuration. Enabling the <literal>resilio</literal> service
also installs a systemd user unit which can be used to start
user-specific copies of the daemon. Once installed, you can use
<literal>systemctl --user start resilio</literal> as your user to start
the daemon using the configuration file located at
<literal>$HOME/.config/resilio-sync/config.json</literal>.
NixOS configuration.
'';
};

7 changes: 5 additions & 2 deletions nixos/modules/services/printing/cupsd.nix
Original file line number Diff line number Diff line change
@@ -124,7 +124,7 @@ in

listenAddresses = mkOption {
type = types.listOf types.str;
default = [ "127.0.0.1:631" ];
default = [ "localhost:631" ];
example = [ "*:631" ];
description = ''
A list of addresses and ports on which to listen.
@@ -321,7 +321,10 @@ in
''}
'';

serviceConfig.PrivateTmp = true;
serviceConfig = {
PrivateTmp = true;
RuntimeDirectory = [ "cups" ];
};
};

systemd.services.cups-browsed = mkIf avahiEnabled
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/loader/grub/install-grub.pl
Original file line number Diff line number Diff line change
@@ -182,7 +182,7 @@ sub GrubFs {
# Based on the type pull in the identifier from the system
my ($status, @devInfo) = runCommand("@utillinux@/bin/blkid -o export @{[$fs->device]}");
if ($status != 0) {
die "Failed to get blkid info for @{[$fs->mount]} on @{[$fs->device]}";
die "Failed to get blkid info (returned $status) for @{[$fs->mount]} on @{[$fs->device]}";
}
my @matches = join("", @devInfo) =~ m/@{[uc $fsIdentifier]}=([^\n]*)/;
if ($#matches != 0) {
4 changes: 2 additions & 2 deletions nixos/modules/tasks/network-interfaces.nix
Original file line number Diff line number Diff line change
@@ -142,7 +142,7 @@ let
default = { };
example = { mtu = "1492"; window = "524288"; };
description = ''
Other route options. See the symbol <literal>OPTION</literal>
Other route options. See the symbol <literal>OPTIONS</literal>
in the <literal>ip-route(8)</literal> manual page for the details.
'';
};
@@ -191,7 +191,7 @@ let
preferTempAddress = mkOption {
type = types.bool;
default = cfg.enableIPv6;
defaultText = literalExample "config.networking.enableIpv6";
defaultText = literalExample "config.networking.enableIPv6";
description = ''
When using SLAAC prefer a temporary (IPv6) address over the EUI-64
address for originating connections. This is used to reduce tracking.
6 changes: 3 additions & 3 deletions nixos/modules/virtualisation/qemu-vm.nix
Original file line number Diff line number Diff line change
@@ -319,8 +319,8 @@ in
networkingOptions =
mkOption {
default = [
"-net nic,vlan=0,model=virtio"
"-net user,vlan=0\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
"-net nic,netdev=user.0,model=virtio"
"-netdev user,id=user.0,\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
];
type = types.listOf types.str;
description = ''
@@ -436,7 +436,7 @@ in

# FIXME: Figure out how to make this work on non-x86
virtualisation.qemu.options =
mkIf (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) [ "-vga std" "-usbdevice tablet" ];
mkIf (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) [ "-vga std" "-usb" "-device usb-tablet,bus=usb-bus.0" ];

# Mount the host filesystem via 9P, and bind-mount the Nix store
# of the host into our own filesystem. We use mkVMOverride to
14 changes: 7 additions & 7 deletions nixos/release-combined.nix
Original file line number Diff line number Diff line change
@@ -52,17 +52,17 @@ in rec {
(all nixos.dummy)
(all nixos.manual)

nixos.iso_minimal.x86_64-linux
nixos.iso_minimal.i686-linux
nixos.iso_graphical.x86_64-linux
nixos.ova.x86_64-linux
nixos.iso_minimal.x86_64-linux or []
nixos.iso_minimal.i686-linux or []
nixos.iso_graphical.x86_64-linux or []
nixos.ova.x86_64-linux or []

#(all nixos.tests.containers)
nixos.tests.chromium.x86_64-linux
nixos.tests.chromium.x86_64-linux or []
(all nixos.tests.firefox)
(all nixos.tests.firewall)
(all nixos.tests.gnome3)
nixos.tests.installer.zfsroot.x86_64-linux # ZFS is 64bit only
nixos.tests.installer.zfsroot.x86_64-linux or [] # ZFS is 64bit only
(all nixos.tests.installer.lvm)
(all nixos.tests.installer.luksroot)
(all nixos.tests.installer.separateBoot)
@@ -81,7 +81,7 @@ in rec {
(all nixos.tests.boot.uefiUsb)
(all nixos.tests.boot-stage1)
(all nixos.tests.hibernate)
nixos.tests.docker.x86_64-linux
nixos.tests.docker.x86_64-linux or []
(all nixos.tests.ecryptfs)
(all nixos.tests.env)
(all nixos.tests.ipv6)
14 changes: 9 additions & 5 deletions nixos/release.nix
Original file line number Diff line number Diff line change
@@ -16,7 +16,11 @@ let
inherit system;
} // args);

callTestOnTheseSystems = systems: fn: args: forTheseSystems systems (system: hydraJob (importTest fn args system));
# Note: only supportedSystems are considered.
callTestOnTheseSystems = systems: fn: args:
forTheseSystems
(intersectLists supportedSystems systems)
(system: hydraJob (importTest fn args system));
callTest = callTestOnTheseSystems supportedSystems;

callSubTests = callSubTestsOnTheseSystems supportedSystems;
@@ -231,7 +235,7 @@ in rec {
tests.buildbot = callTest tests/buildbot.nix {};
tests.cadvisor = callTestOnTheseSystems ["x86_64-linux"] tests/cadvisor.nix {};
tests.ceph = callTestOnTheseSystems ["x86_64-linux"] tests/ceph.nix {};
tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable;
tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable or {};
tests.cjdns = callTest tests/cjdns.nix {};
tests.cloud-init = callTest tests/cloud-init.nix {};
tests.containers-ipv4 = callTest tests/containers-ipv4.nix {};
@@ -252,8 +256,8 @@ in rec {
tests.dnscrypt-proxy = callTestOnTheseSystems ["x86_64-linux"] tests/dnscrypt-proxy.nix {};
tests.ecryptfs = callTest tests/ecryptfs.nix {};
tests.etcd = callTestOnTheseSystems ["x86_64-linux"] tests/etcd.nix {};
tests.ec2-nixops = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-nixops;
tests.ec2-config = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-config;
tests.ec2-nixops = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-nixops or {};
tests.ec2-config = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-config or {};
tests.elk = callSubTestsOnTheseSystems ["x86_64-linux"] tests/elk.nix {};
tests.env = callTest tests/env.nix {};
tests.ferm = callTest tests/ferm.nix {};
@@ -292,7 +296,7 @@ in rec {
tests.kernel-copperhead = callTest tests/kernel-copperhead.nix {};
tests.kernel-latest = callTest tests/kernel-latest.nix {};
tests.kernel-lts = callTest tests/kernel-lts.nix {};
tests.kubernetes = hydraJob (import tests/kubernetes/default.nix { system = "x86_64-linux"; });
tests.kubernetes = callSubTestsOnTheseSystems ["x86_64-linux"] tests/kubernetes/default.nix {};
tests.latestKernel.login = callTest tests/login.nix { latestKernel = true; };
tests.ldap = callTest tests/ldap.nix {};
#tests.lightdm = callTest tests/lightdm.nix {};
24 changes: 20 additions & 4 deletions nixos/tests/common/letsencrypt.nix
Original file line number Diff line number Diff line change
@@ -138,16 +138,16 @@ let
boulder = let
owner = "letsencrypt";
repo = "boulder";
rev = "9866abab8962a591f06db457a4b84c518cc88243";
version = "20170510";
rev = "9c6a1f2adc4c26d925588f5ae366cfd4efb7813a";
version = "20180129";

in pkgs.buildGoPackage rec {
name = "${repo}-${version}";

src = pkgs.fetchFromGitHub {
name = "${name}-src";
inherit rev owner repo;
sha256 = "170m5cjngbrm36wi7wschqw8jzs7kxpcyzmshq3pcrmcpigrhna1";
sha256 = "09kszswrifm9rc6idfaq0p1mz5w21as2qbc8gd5pphrq9cf9pn55";
};

postPatch = ''
@@ -168,6 +168,18 @@ let
cat "${snakeOilCa}/ca.pem" > test/test-ca.pem
'';

# Until vendored pkcs11 is go 1.9 compatible
preBuild = ''
rm -r go/src/github.com/letsencrypt/boulder/vendor/github.com/miekg/pkcs11
'';

extraSrcs = map mkGoDep [
{ goPackagePath = "github.com/miekg/pkcs11";
rev = "6dbd569b952ec150d1425722dbbe80f2c6193f83";
sha256 = "1m8g6fx7df6hf6q6zsbyw1icjmm52dmsx28rgb0h930wagvngfwb";
}
];

goPackagePath = "github.com/${owner}/${repo}";
buildInputs = [ pkgs.libtool ];
};
@@ -284,7 +296,11 @@ let
ocsp-updater.after = [ "boulder-publisher" ];
ocsp-responder.args = "--config ${cfgDir}/ocsp-responder.json";
ct-test-srv = {};
mail-test-srv.args = "--closeFirst 5";
mail-test-srv.args = let
key = "${boulderSource}/test/mail-test-srv/minica-key.pem";
crt = "${boulderSource}/test/mail-test-srv/minica.pem";
in
"--closeFirst 5 --cert ${crt} --key ${key}";
};

commonPath = [ softhsm pkgs.mariadb goose boulder ];
2 changes: 1 addition & 1 deletion nixos/tests/containers-tmpfs.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Test for NixOS' container support.

import ./make-test.nix ({ pkgs, ...} : {
name = "containers-bridge";
name = "containers-tmpfs";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ckampka ];
};
Loading