diff options
author | Justin Bedo <cu@cua0.org> | 2019-01-07 10:49:21 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2019-01-08 11:02:40 +1100 |
commit | 4576eeeec4fc001c0c064e5d083d35c129ac367a (patch) | |
tree | 868919cb3713045c7be7239dc47e3dc5f9036488 /lib | |
parent | b029bff0ec25ec06758a5fdf7c79152d2ed5c032 (diff) |
types: expose nix-adt
Diffstat (limited to 'lib')
-rw-r--r-- | lib/types.nix | 1 |
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" { |