1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/lib/tests
Robert Hensing 0abfc619bc
lib.importApply: init (#230588)
* lib.modules.importApply: init

Brings variables from rich scopes to modules defined in separate files.

A helper for functions in files that return a module.

* lib.modules.importApply: Edit doc

Generally improve the quality. Notes:

- Not rendered to the manual yet, so probably the syntax could be
  improved, but I have no way to test this now.

- The docs use `arg` vs `staticArg` in the code. This is intentional,
  because the doc is pretty clear about the role of `arg` whereas
  the code exists in a context where ambiguities are more harmful.

* Format
2024-08-31 01:12:43 +02:00
..
modules lib.importApply: init (#230588) 2024-08-31 01:12:43 +02:00
packages-from-directory lib/tests/packages-from-directory: make sure all .nix files parse 2024-01-31 20:30:17 +01:00
check-eval.nix
filesystem.sh lib.filesystem: Don't test Nix-specific error messages 2023-11-01 18:56:03 +01:00
maintainer-module.nix
maintainers.nix
misc.nix lib.strings: add trim and trimWith 2024-07-25 23:43:33 +01:00
modules.sh lib.importApply: init (#230588) 2024-08-31 01:12:43 +02:00
network.sh lib.network: ipv6 parser from string 2024-06-29 10:02:00 +03:00
nix-for-tests.nix lib.tests: build nix without flaky aws-sdk-cpp 2023-11-18 20:19:10 -08:00
release.nix lib/tests/release.nix: fix pkgs.lib error by passing lib 2024-06-09 18:12:39 -07:00
sources.sh lib/tests: Unify documentation of individual testable files 2023-07-18 17:22:45 +02:00
systems.nix treewide: freebsd13 -> freebsd 2024-04-30 18:20:23 -04:00
teams.nix
test-to-plist-expected.plist
test-with-nix.nix lib.network: ipv6 parser from string 2024-06-29 10:02:00 +03:00