pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, coreutils, pam, groff, sssd, nixosTests
|
||||
{ lib, stdenv, fetchurl, coreutils, pam, groff, sssd, nixosTests
|
||||
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
||||
, withInsults ? false
|
||||
, withSssd ? false
|
||||
@@ -27,10 +27,10 @@ stdenv.mkDerivation rec {
|
||||
"--with-iologdir=/var/log/sudo-io"
|
||||
"--with-sendmail=${sendmailPath}"
|
||||
"--enable-tmpfiles.d=no"
|
||||
] ++ stdenv.lib.optional withInsults [
|
||||
] ++ lib.optional withInsults [
|
||||
"--with-insults"
|
||||
"--with-all-insults"
|
||||
] ++ stdenv.lib.optional withSssd [
|
||||
] ++ lib.optional withSssd [
|
||||
"--with-sssd"
|
||||
"--with-sssd-lib=${sssd}/lib"
|
||||
];
|
||||
@@ -78,8 +78,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
license = "https://www.sudo.ws/sudo/license.html";
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ eelco delroth ];
|
||||
maintainers = with lib.maintainers; [ eelco delroth ];
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user