mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #136580 from ncfavier/vscode-trash
vscode,vscodium: fix moving files to the trash
This commit is contained in:
commit
70feccf376
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, lib, makeDesktopItem
|
{ stdenv, lib, makeDesktopItem
|
||||||
, unzip, libsecret, libXScrnSaver, libxshmfence, wrapGAppsHook
|
, unzip, libsecret, libXScrnSaver, libxshmfence, wrapGAppsHook
|
||||||
, gtk2, atomEnv, at-spi2-atk, autoPatchelfHook
|
, gtk2, atomEnv, at-spi2-atk, autoPatchelfHook
|
||||||
, systemd, fontconfig, libdbusmenu, buildFHSUserEnvBubblewrap
|
, systemd, fontconfig, libdbusmenu, glib, buildFHSUserEnvBubblewrap
|
||||||
, writeShellScriptBin
|
, writeShellScriptBin
|
||||||
|
|
||||||
# Populate passthru.tests
|
# Populate passthru.tests
|
||||||
@ -101,6 +101,13 @@ let
|
|||||||
runHook postInstall
|
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;
|
inherit meta;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user