From 07c453277e6484c7e97c41e2e0be65ead7155e8f Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Fri, 16 Aug 2024 14:10:44 -0700 Subject: [PATCH] check-{mssql,nwc,ups}-health: remove with statements --- .../monitoring/plugins/labs_consol_de.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/servers/monitoring/plugins/labs_consol_de.nix b/pkgs/servers/monitoring/plugins/labs_consol_de.nix index b30fd4b27577..255fd01f71f2 100644 --- a/pkgs/servers/monitoring/plugins/labs_consol_de.nix +++ b/pkgs/servers/monitoring/plugins/labs_consol_de.nix @@ -22,14 +22,14 @@ let nativeBuildInputs = [ autoreconfHook makeWrapper ]; - prePatch = with lib; '' + prePatch = '' rm -rf GLPlugin ln -s ${glplugin} GLPlugin substituteInPlace plugins-scripts/Makefile.am \ - --replace /bin/cat ${getBin coreutils}/bin/cat \ - --replace /bin/echo ${getBin coreutils}/bin/echo \ - --replace /bin/grep ${getBin gnugrep}/bin/grep \ - --replace /bin/sed ${getBin gnused}/bin/sed + --replace /bin/cat ${lib.getBin coreutils}/bin/cat \ + --replace /bin/echo ${lib.getBin coreutils}/bin/echo \ + --replace /bin/grep ${lib.getBin gnugrep}/bin/grep \ + --replace /bin/sed ${lib.getBin gnused}/bin/sed ''; postInstall = '' @@ -42,10 +42,10 @@ let done ''; - meta = with lib; { + meta = { homepage = "https://labs.consol.de/"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ peterhoeg ]; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ peterhoeg ]; inherit description; }; };