diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2023-07-19 16:34:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 16:34:36 +0200 |
commit | 0665253b864c4b725c19337b2b1971158f55b16f (patch) | |
tree | f4cc62995896cecf412e63daab21ee12ef7829f8 /lib/tests/modules.sh | |
parent | da865b2b9e32d94f33c6862465bfa0e2f132a87e (diff) | |
parent | 581d7c88bea4216fb47c2a98f38af59f2d14485d (diff) | |
download | nixlib-0665253b864c4b725c19337b2b1971158f55b16f.tar nixlib-0665253b864c4b725c19337b2b1971158f55b16f.tar.gz nixlib-0665253b864c4b725c19337b2b1971158f55b16f.tar.bz2 nixlib-0665253b864c4b725c19337b2b1971158f55b16f.tar.lz nixlib-0665253b864c4b725c19337b2b1971158f55b16f.tar.xz nixlib-0665253b864c4b725c19337b2b1971158f55b16f.tar.zst nixlib-0665253b864c4b725c19337b2b1971158f55b16f.zip |
Merge pull request #244044 from tweag/lib-readme
Create a Readme in `lib`
Diffstat (limited to 'lib/tests/modules.sh')
-rwxr-xr-x | lib/tests/modules.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index 50f24c09ca40..180cca9955e8 100755 --- a/lib/tests/modules.sh +++ b/lib/tests/modules.sh @@ -1,7 +1,13 @@ #!/usr/bin/env bash -# + # This script is used to test that the module system is working as expected. +# Executing it runs tests for `lib.modules`, `lib.options` and `lib.types`. # By default it test the version of nixpkgs which is defined in the NIX_PATH. +# +# Run: +# [nixpkgs]$ lib/tests/modules.sh +# or: +# [nixpkgs]$ nix-build lib/tests/release.nix set -o errexit -o noclobber -o nounset -o pipefail shopt -s failglob inherit_errexit |