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
@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, runCommand
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, runCommand
, coreutils, gnugrep, gnused, lm_sensors, net-snmp, openssh, openssl, perl
, dnsutils, libdbi, libmysqlclient, zlib, openldap, procps
, runtimeShell }:
with stdenv.lib;
with lib;
let
majorVersion = "2.2";
+1 -1
View File
@@ -4,7 +4,7 @@ let
bName = "check_esxi_hardware";
in python3Packages.buildPythonApplication rec {
pname = stdenv.lib.replaceStrings [ "_" ] [ "-" ] bName;
pname = lib.replaceStrings [ "_" ] [ "-" ] bName;
version = "20200710";
src = fetchFromGitHub {
@@ -22,7 +22,7 @@ let
nativeBuildInputs = [ autoreconfHook makeWrapper ];
prePatch = with stdenv.lib; ''
prePatch = with lib; ''
rm -rf GLPlugin
ln -s ${glplugin} GLPlugin
substituteInPlace plugins-scripts/Makefile.am \