about summary refs log tree commit diff
path: root/pkgs/profpatsch/xdg-open/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-05-12 23:05:28 +0200
committerProfpatsch <mail@profpatsch.de>2021-05-12 23:42:13 +0200
commit0d1737778cf81304ec37cea2a1c0e934bb84e601 (patch)
tree85dd4f2de036adb61fcd18ddb66aa2ad08d49c56 /pkgs/profpatsch/xdg-open/default.nix
parent08bb67826b793e57b8ec17627ba2a52478567700 (diff)
pkgs/profpatsch/xdg-open: prepare for adding firefox handler support
This diff is a bit bad cause of whitespace changes, but effectively
this copies all handlers into the mime handler definitions and
duplicates them for now.

We want to use the same config to generate a firefox mime handler
file.
Diffstat (limited to 'pkgs/profpatsch/xdg-open/default.nix')
-rw-r--r--pkgs/profpatsch/xdg-open/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/profpatsch/xdg-open/default.nix b/pkgs/profpatsch/xdg-open/default.nix
index 89114b92..2b265318 100644
--- a/pkgs/profpatsch/xdg-open/default.nix
+++ b/pkgs/profpatsch/xdg-open/default.nix
@@ -54,6 +54,8 @@ let
     args = file: [ file ];
   };
 
+
+
   open-in-browser = {
     exe = bins.firefox;
     args = file: [ file ];
@@ -117,6 +119,7 @@ let
       , fetch-http-url-mime : Command
       , open-in-browser : Command
       , open-in-editor : Command
+      , notify : Text -> Command
       }
     )
 → Text
@@ -125,6 +128,7 @@ let
       main = "xdg-open.dhall";
       files = [
         "config.dhall"
+        "types.dhall"
         "imports/Prelude/Text/concatSep"
         "imports/Prelude/Text/concatMap"
         "imports/Prelude/Text/concat"