pkgs/servers: stdenv.lib -> lib
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user