You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to import all modules into one file (also using the self attribute to define config and options in the modules) - running the following, results in the error below:
error:
… while calling the 'foldl'' builtin
at /nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source/lib/trivial.nix:317:19:
316| */
317| flip = f: a: b: f b a;
| ^
318|
… while calling the 'foldl'' builtin
at /nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source/lib/trivial.nix:317:19:
316| */
317| flip = f: a: b: f b a;
| ^
318|
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'lib' missing
at /nix/store/ih873qmabdsdgk1naaiv6v7jy1mxq241-source/src/loaders/__defaultWith.nix:24:23:
23| functionArgs
24| (mapAttrs (name: _: inputs.${name}))
| ^
25| f
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to import all modules into one file (also using the
self
attribute to defineconfig
andoptions
in the modules) - running the following, results in the error below:Beta Was this translation helpful? Give feedback.
All reactions