mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
NixOS modules: Add error context on module arguments evaluation.
This commit is contained in:
parent
2fa88f65ea
commit
a6b455bbae
5 changed files with 37 additions and 8 deletions
6
lib/tests/modules/import-custom-arg.nix
Normal file
6
lib/tests/modules/import-custom-arg.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ lib, custom, ... }:
|
||||
|
||||
{
|
||||
imports = []
|
||||
++ lib.optional custom ./define-enable-force.nix;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue