From d2a975169a73215e58ffb1fa6c7c8270775382f8 Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Wed, 16 Sep 2020 22:04:04 +0200 Subject: 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. --- pkgs/applications/editors/atom/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/editors/atom') diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix index 7a6d5b5cd9185..e7a9a26f066c9 100644 --- a/pkgs/applications/editors/atom/default.nix +++ b/pkgs/applications/editors/atom/default.nix @@ -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" ) ''; -- cgit 1.4.1