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
+1 -1
View File
@@ -107,7 +107,7 @@ in stdenv.mkDerivation rec {
-e 's,\(^ *JOT=\).*,\1,' \
-e 's,\(^ *CONNLOCKDIR=\).*,\1/var/lock/ejabberdctl,' \
$out/sbin/ejabberdctl
wrapProgram $out/lib/eimp-*/priv/bin/eimp --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libpng libjpeg libwebp ]}"
wrapProgram $out/lib/eimp-*/priv/bin/eimp --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libpng libjpeg libwebp ]}"
'';
meta = with lib; {
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, jre }:
{ lib, stdenv, fetchurl, jre }:
stdenv.mkDerivation rec {
pname = "openfire";
@@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
mv $out/conf $out/conf.inst
ln -s /var/log/openfire $out/logs
ln -s /etc/openfire $out/conf
'';
'';
meta = {
description = "XMPP server in Java";
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
# Some security advisories seem to apply, and each next version wants to
# write into larger parts of installation directory; installation is just
# unpacking, though
+1 -1
View File
@@ -11,7 +11,7 @@
assert withLibevent -> luaevent != null;
assert withDBI -> luadbi != null;
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {