check-{mssql,nwc,ups}-health: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 14:10:44 -07:00
parent 82929eb694
commit 07c453277e
No known key found for this signature in database

View File

@ -22,14 +22,14 @@ let
nativeBuildInputs = [ autoreconfHook makeWrapper ]; nativeBuildInputs = [ autoreconfHook makeWrapper ];
prePatch = with lib; '' prePatch = ''
rm -rf GLPlugin rm -rf GLPlugin
ln -s ${glplugin} GLPlugin ln -s ${glplugin} GLPlugin
substituteInPlace plugins-scripts/Makefile.am \ substituteInPlace plugins-scripts/Makefile.am \
--replace /bin/cat ${getBin coreutils}/bin/cat \ --replace /bin/cat ${lib.getBin coreutils}/bin/cat \
--replace /bin/echo ${getBin coreutils}/bin/echo \ --replace /bin/echo ${lib.getBin coreutils}/bin/echo \
--replace /bin/grep ${getBin gnugrep}/bin/grep \ --replace /bin/grep ${lib.getBin gnugrep}/bin/grep \
--replace /bin/sed ${getBin gnused}/bin/sed --replace /bin/sed ${lib.getBin gnused}/bin/sed
''; '';
postInstall = '' postInstall = ''
@ -42,10 +42,10 @@ let
done done
''; '';
meta = with lib; { meta = {
homepage = "https://labs.consol.de/"; homepage = "https://labs.consol.de/";
license = licenses.gpl2Only; license = lib.licenses.gpl2Only;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
inherit description; inherit description;
}; };
}; };