mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Merge #103
103: add lib argument to multi-module template r=roberth a=DavHau Might be biased by my use cases but I nearly always need lib. Even if not it doesn't hurt to have it. Also the top-level flake.nix could really use a `lib` attribute. But not sure what would be the best way to bring it in scope. Many users will need lib, so I think it would be good to propose a sane default of how to bring it in. Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
This commit is contained in:
commit
82c16f1682
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue