From 81f390d2e3f0b297e7b50c779b49babcd6a1fa7e Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Fri, 17 May 2019 20:00:22 +0200 Subject: [PATCH] systemd: disable building tests We are currently not running any tests but building them takes signitifcant amounts of time since they account to about 40% of all the compilation targets. --- pkgs/os-specific/linux/systemd/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index cc708cb4a89..a94490d594b 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -62,7 +62,8 @@ stdenv.mkDerivation rec { "-Dloadkeys-path=${kbd}/bin/loadkeys" "-Dsetfont-path=${kbd}/bin/setfont" "-Dtty-gid=3" # tty in NixOS has gid 3 - # "-Dtests=" # TODO + # while we do not run tests we should also not build them. Removes about 600 targets + "-Dtests=false" "-Dlz4=true" "-Dhostnamed=true" "-Dnetworkd=true"