From e659af6d2e4ab529438701f2516654e8066516cc Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Fri, 16 Aug 2024 12:07:40 -0700 Subject: [PATCH] smartgithg: remove with statements --- pkgs/by-name/sm/smartgithg/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/sm/smartgithg/package.nix b/pkgs/by-name/sm/smartgithg/package.nix index d3bb1ed1b67d..d636c9d9b1ed 100644 --- a/pkgs/by-name/sm/smartgithg/package.nix +++ b/pkgs/by-name/sm/smartgithg/package.nix @@ -26,10 +26,10 @@ stdenv.mkDerivation rec { buildInputs = [ jre adwaita-icon-theme gtk3 ]; - preFixup = with lib; '' + preFixup = '' gappsWrapperArgs+=( \ - --prefix PATH : ${makeBinPath [ jre which ]} \ - --prefix LD_LIBRARY_PATH : ${makeLibraryPath [ + --prefix PATH : ${lib.makeBinPath [ jre which ]} \ + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gtk3 glib libXtst @@ -65,7 +65,7 @@ stdenv.mkDerivation rec { runHook postInstall ''; - desktopItem = with lib; makeDesktopItem rec { + desktopItem = makeDesktopItem rec { name = "smartgit"; exec = "smartgit"; comment = meta.description;