Unverified Commit 55b5f298 authored by rnhmjoj's avatar rnhmjoj
Browse files

dhcpcd: bring back enablePrivSep option

parent b1bc4ea2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
, runtimeShellPackage
, runtimeShell
, nixosTests
, enablePrivSep ? false
}:

stdenv.mkDerivation rec {
@@ -39,7 +40,8 @@ stdenv.mkDerivation rec {
    "--localstatedir=/var"
    "--disable-privsep"
    "--dbdir=/var/lib/dhcpcd"
  ];
    (lib.enableFeature enablePrivSep "privsep")
  ] ++ lib.optional enablePrivSep "--privsepuser=dhcpcd";

  makeFlags = [ "PREFIX=${placeholder "out"}" ];