pkgs/servers: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:24:03 +07:00
parent e245ae3c3a
commit 872973d7d1
172 changed files with 454 additions and 455 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ assert withRest -> curl != null && withJson;
## TODO: include oracle optionally
## TODO: include ykclient optionally
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "freeradius";
version = "3.0.21";
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
] ++ optional (!linkOpenssl) "--with-openssl=no";
patches = stdenv.lib.optional withRest (fetchpatch {
patches = lib.optional withRest (fetchpatch {
# Fix HTTP/2 in rest
url = "https://github.com/FreeRADIUS/freeradius-server/commit/6286520698a3cc4053b4d49eb0a61d9ba77632aa.patch";
sha256 = "1ycvr3ql1mfkvzydnn4aiygnidicv2hgllppv37nb1p2pk02159g";