vscode,vscodium: fix moving files to the trash

Put gio in PATH so that VSCode is able to move files to the trash.
launchpad/nixpkgs/master
Naïm Favier 3 years ago
parent d14e9188d1
commit a75326417d
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2
  1. 9
      pkgs/applications/editors/vscode/generic.nix

@ -1,7 +1,7 @@
{ stdenv, lib, makeDesktopItem
, unzip, libsecret, libXScrnSaver, libxshmfence, wrapGAppsHook
, gtk2, atomEnv, at-spi2-atk, autoPatchelfHook
, systemd, fontconfig, libdbusmenu, buildFHSUserEnvBubblewrap
, systemd, fontconfig, libdbusmenu, glib, buildFHSUserEnvBubblewrap
, writeShellScriptBin
# Populate passthru.tests
@ -101,6 +101,13 @@ let
runHook postInstall
'';
preFixup = ''
gappsWrapperArgs+=(
# Add gio to PATH so that moving files to the trash works when not using a desktop environment
--prefix PATH : ${glib.bin}/bin
)
'';
inherit meta;
};

Loading…
Cancel
Save