From a079a6f02697d4d5d12c6627136f425cd7da5598 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 28 Oct 2020 01:00:44 +0100 Subject: [PATCH] systemd: add withUserDb flag --- pkgs/os-specific/linux/systemd/default.nix | 2 ++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 4d5a5121a454..cd0968b42189 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -73,6 +73,7 @@ , withShellCompletions ? true , withTimedated ? true , withTimesyncd ? true +, withUserDb ? true # name argument , pname ? "systemd" @@ -233,6 +234,7 @@ stdenv.mkDerivation { "-Dsysusers=false" "-Dtimedated=${lib.boolToString withTimedated}" "-Dtimesyncd=${lib.boolToString withTimesyncd}" + "-Duserdb=${lib.boolToString withUserDb}" "-Dcoredump=${lib.boolToString withCoredump}" "-Dfirstboot=false" "-Dresolve=${lib.boolToString withResolved}" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 48ec0679fc6f..00462f38c19f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18678,6 +18678,7 @@ in withResolved = false; withShellCompletions = false; withTimedated = false; + withUserDb = false; glib = null; libgcrypt = null; lvm2 = null;