mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
lib/modules: Fix import* comments
Very confusing otherwise.
This commit is contained in:
parent
8b584158a5
commit
541ce53a3b
@ -947,7 +947,7 @@ rec {
|
||||
|
||||
/* Use this function to import a JSON file as NixOS configuration.
|
||||
|
||||
importJSON -> path -> attrs
|
||||
modules.importJSON :: path -> attrs
|
||||
*/
|
||||
importJSON = file: {
|
||||
_file = file;
|
||||
@ -956,7 +956,7 @@ rec {
|
||||
|
||||
/* Use this function to import a TOML file as NixOS configuration.
|
||||
|
||||
importTOML -> path -> attrs
|
||||
modules.importTOML :: path -> attrs
|
||||
*/
|
||||
importTOML = file: {
|
||||
_file = file;
|
||||
|
Loading…
Reference in New Issue
Block a user