1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00

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.
This commit is contained in:
DavHau 2023-01-10 15:33:53 +08:00 committed by GitHub
parent aa1f6ca773
commit cecf9e179c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.