about summary refs log tree commit diff
path: root/pkgs/profpatsch/xdg-open/xdg-open.dhall
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/profpatsch/xdg-open/xdg-open.dhall')
-rw-r--r--pkgs/profpatsch/xdg-open/xdg-open.dhall4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/profpatsch/xdg-open/xdg-open.dhall b/pkgs/profpatsch/xdg-open/xdg-open.dhall
index 5090f8f1..cd9e8d4c 100644
--- a/pkgs/profpatsch/xdg-open/xdg-open.dhall
+++ b/pkgs/profpatsch/xdg-open/xdg-open.dhall
@@ -55,7 +55,7 @@ let xdg-open =
             λ(shellEscape2 : Text → Text) →
             λ(file2 : Text) →
             λ(m : types.MimeMatch) →
-              [ "${renderMime m.match})"
+              [ "${renderMime m.mime})"
               , "${shellEscapeCommand shellEscape2 file2 m.cmd}"
               , ";;"
               ]
@@ -140,7 +140,7 @@ let xdg-open =
                                   types.MimeMatch
                                   Text
                                   (mimeMatcherCase shellEscape "\"\$file\"")
-                                  config.mimeMatcher
+                                  config.orderedMimeMatchers
                             }}
                         esac
                         ''