about summary refs log tree commit diff
path: root/pkgs/tools/X11/xdg-utils
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-11-19 03:34:57 +0200
committerGitHub <noreply@github.com>2023-11-19 03:34:57 +0200
commit0c373df9d69c2f450fb7dbea00cbeef8cd667443 (patch)
tree0612b811a6aff8420abc8aa234112c91c5b7d87c /pkgs/tools/X11/xdg-utils
parent7317849dd0e746cb520b3b0e5383371a4ca34ed6 (diff)
parent30b2770a5405477e4142140dc2f4510ebb54c147 (diff)
downloadnixlib-0c373df9d69c2f450fb7dbea00cbeef8cd667443.tar
nixlib-0c373df9d69c2f450fb7dbea00cbeef8cd667443.tar.gz
nixlib-0c373df9d69c2f450fb7dbea00cbeef8cd667443.tar.bz2
nixlib-0c373df9d69c2f450fb7dbea00cbeef8cd667443.tar.lz
nixlib-0c373df9d69c2f450fb7dbea00cbeef8cd667443.tar.xz
nixlib-0c373df9d69c2f450fb7dbea00cbeef8cd667443.tar.zst
nixlib-0c373df9d69c2f450fb7dbea00cbeef8cd667443.zip
Merge pull request #220742 from eriedaberrie/xdgutils-mimeopen
Diffstat (limited to 'pkgs/tools/X11/xdg-utils')
-rw-r--r--pkgs/tools/X11/xdg-utils/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/X11/xdg-utils/default.nix b/pkgs/tools/X11/xdg-utils/default.nix
index ed8b1363d5f8..cf46239939b5 100644
--- a/pkgs/tools/X11/xdg-utils/default.nix
+++ b/pkgs/tools/X11/xdg-utils/default.nix
@@ -69,7 +69,8 @@ stdenv.mkDerivation rec {
 
     substituteInPlace $out/bin/xdg-open \
       --replace "/usr/bin/printf" "${coreutils}/bin/printf" \
-      --replace "gdbus" "${glib}/bin/gdbus"
+      --replace "gdbus" "${glib}/bin/gdbus" \
+      --replace "mimeopen" "${perlPackages.FileMimeInfo}/bin/mimeopen"
 
     substituteInPlace $out/bin/xdg-mime \
       --replace "/usr/bin/file" "${file}/bin/file"