Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

lib.resolvers

lib.resolvers.resolve

Resolve modules in a module directory.

Type

resolve :: Path -> String -> AttrSet

Arguments

root
Directory path containing the modules.
name
Name of the module files.

Usage

{inputs, ...}: let
  inherit (inputs.nix-config.lib.resolvers) resolve;
in # ...

Source

lib/resolvers/lib.nix:24