summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Happ <tobias.happ@gmx.de>2020-09-16 22:04:04 +0200
committerTobias Happ <tobias.happ@gmx.de>2021-01-23 15:47:53 +0100
commitd2a975169a73215e58ffb1fa6c7c8270775382f8 (patch)
tree54ae923a21b97f4338fa73ae3309ced66ef6e479
parentf9d9227040e8ee342d7e2a6d06078768a202ff69 (diff)
downloadnixpkgs-d2a975169a73215e58ffb1fa6c7c8270775382f8.tar
nixpkgs-d2a975169a73215e58ffb1fa6c7c8270775382f8.tar.gz
nixpkgs-d2a975169a73215e58ffb1fa6c7c8270775382f8.tar.bz2
nixpkgs-d2a975169a73215e58ffb1fa6c7c8270775382f8.tar.lz
nixpkgs-d2a975169a73215e58ffb1fa6c7c8270775382f8.tar.xz
nixpkgs-d2a975169a73215e58ffb1fa6c7c8270775382f8.tar.zst
nixpkgs-d2a975169a73215e58ffb1fa6c7c8270775382f8.zip
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.
-rw-r--r--pkgs/applications/editors/atom/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix
index 7a6d5b5cd91..e7a9a26f066 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"
       )
     '';