From 41fd48e00c22b4ced525af521ead8792402de0ea Mon Sep 17 00:00:00 2001 From: zimbatm Date: Sat, 16 Sep 2023 11:48:56 +0200 Subject: [PATCH] expose lib as a functor This allows calling the nix-filter input directly. Eg: outputs = { self, nix-filter }: ... src = nix-filter { root = self; includes = [ ./dir ]; }; --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index e412e53..ffdfe3e 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,7 @@ description = "nix-filter"; outputs = { self }: { + __functor = self.lib.__functor; lib = import ./default.nix; overlays.default = _: _: { nix-filter = self.lib; }; };