From cecf9e179c3caafba0dcc2cab1fd755ec3fa1ccb Mon Sep 17 00:00:00 2001 From: DavHau Date: Tue, 10 Jan 2023 15:33:53 +0800 Subject: [PATCH] add lib argument to multi-module template Might be biased by my use cases but I nearly always need lib. Even if not it doesn't hurt to have it. --- template/multi-module/hello/flake-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/multi-module/hello/flake-module.nix b/template/multi-module/hello/flake-module.nix index 55066f0..0ddc6d3 100644 --- a/template/multi-module/hello/flake-module.nix +++ b/template/multi-module/hello/flake-module.nix @@ -1,6 +1,6 @@ # Definitions can be imported from a separate file like this one -{ self, ... }: { +{ self, lib, ... }: { perSystem = { config, self', inputs', pkgs, ... }: { # Definitions like this are entirely equivalent to the ones # you may have directly in flake.nix.