aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/types.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index ef9b1b7..3e26b8a 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -21,6 +21,7 @@ let
in
rec {
+ nix-adt = import "${nix-adt-src}";
matchFiletype = sym: y: x: if x ? filetype then matchFiletype' sym y x.filetype else abort "unknown filetype for ${sym}";
matchFiletype' = sym: y: x: match x (defError (idft sym) y filetype);
filetype = make-type "filetype" {