mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-22 15:33:10 +01:00
Make inputs and inputs' available in pkgs arg
This allows functions with access only to pkgs to access the flake inputs. The inputs' arg allows easy access to per system attributes.
This commit is contained in:
parent
5fbb85744b
commit
7c903add3f
@ -13,6 +13,11 @@ let
|
||||
|
||||
baseModule = src: inputs: root: {
|
||||
withOverlay = final: prev: {
|
||||
inherit inputs;
|
||||
inputs' = mapAttrs
|
||||
(_: mapAttrs
|
||||
(_: v: v.${prev.system} or { }))
|
||||
inputs;
|
||||
flakelite = exports // {
|
||||
meta = {
|
||||
platforms = root.systems;
|
||||
|
Loading…
Reference in New Issue
Block a user