about summary refs log tree commit diff
path: root/pkgs/profpatsch/xdg-open/xdg-open.dhall
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-11-13 00:36:50 +0100
committerProfpatsch <mail@profpatsch.de>2021-11-13 00:36:50 +0100
commit0dd3e1d830daa95ee45994c49e3818a0491056f9 (patch)
tree9df0fc01ccec4e03e064124f55e12e8e3c383114 /pkgs/profpatsch/xdg-open/xdg-open.dhall
parent81b028afd3d62e36da0924accdbe9b6db5a4eef1 (diff)
pkgs/Profpatsch/xdg-open: add libreoffice mimetype
Also make sure libreoffice is only installed/pulled when clicking on
the link (although there could be a popup of sorts if it has to do
stuff …).
Diffstat (limited to 'pkgs/profpatsch/xdg-open/xdg-open.dhall')
-rw-r--r--pkgs/profpatsch/xdg-open/xdg-open.dhall3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/profpatsch/xdg-open/xdg-open.dhall b/pkgs/profpatsch/xdg-open/xdg-open.dhall
index 3edb31e5..3d412309 100644
--- a/pkgs/profpatsch/xdg-open/xdg-open.dhall
+++ b/pkgs/profpatsch/xdg-open/xdg-open.dhall
@@ -84,8 +84,9 @@ let xdg-open =
           λ(write-dash : Text → Text → Executable) →
           λ(shellEscape : Text → Text) →
           λ(pkgs : { package : Text, binary : Text } → Executable) →
+          λ(pkgsOnDemand : { package : Text, binary : Text } → Executable) →
           λ(special : types.Special) →
-            let config = ./config.dhall pkgs special
+            let config = ./config.dhall pkgs pkgsOnDemand special
 
             in  write-dash
                   "xdg-open"