atom, atom-beta: fix not working file deletion

Through deprecation of gvfs-trash, gio has to be in PATH. Atom
automagically detects gio and uses it.
This commit is contained in:
Tobias Happ 2020-09-16 22:04:04 +02:00
parent f9d9227040
commit d2a975169a

View file

@ -1,4 +1,4 @@
{ lib, stdenv, pkgs, fetchurl, wrapGAppsHook, gvfs, gtk3, atomEnv }:
{ lib, stdenv, pkgs, fetchurl, wrapGAppsHook, glib, gtk3, atomEnv }:
let
versions = {
@ -54,7 +54,8 @@ let
preFixup = ''
gappsWrapperArgs+=(
--prefix "PATH" : "${gvfs}/bin"
# needed for gio executable to be able to delete files
--prefix "PATH" : "${glib.bin}/bin"
)
'';