From 4576eeeec4fc001c0c064e5d083d35c129ac367a Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Mon, 7 Jan 2019 10:49:21 +1100 Subject: types: expose nix-adt --- lib/types.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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" { -- cgit v1.2.3