diff options
| -rw-r--r-- | user-profiles/feeds/module.nix | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/user-profiles/feeds/module.nix b/user-profiles/feeds/module.nix index 7a29331b..db5e94b3 100644 --- a/user-profiles/feeds/module.nix +++ b/user-profiles/feeds/module.nix | |||
| @@ -18,18 +18,9 @@ let | |||
| 18 | ''; | 18 | ''; |
| 19 | 19 | ||
| 20 | notmuchCallbacks = pkgs.writeText "imm-callbacks-${config.home.username}.dhall" '' | 20 | notmuchCallbacks = pkgs.writeText "imm-callbacks-${config.home.username}.dhall" '' |
| 21 | let Callback : Type = | 21 | { _executable = "${immNotmuchInsert}/bin/imm-notmuch-insert" |
| 22 | { _executable : Text | 22 | , _arguments = [] : List Text |
| 23 | , _arguments : List Text | 23 | } |
| 24 | } | ||
| 25 | |||
| 26 | let notmuchInsert = | ||
| 27 | { _executable = "${immNotmuchInsert}/bin/imm-notmuch-insert" | ||
| 28 | , _arguments = [] | ||
| 29 | } | ||
| 30 | |||
| 31 | let config : List Callback = [ notmuchInsert ] | ||
| 32 | in config | ||
| 33 | ''; | 24 | ''; |
| 34 | 25 | ||
| 35 | immNotmuchInsert = pkgs.stdenv.mkDerivation rec { | 26 | immNotmuchInsert = pkgs.stdenv.mkDerivation rec { |
