diff options
author | Profpatsch <mail@profpatsch.de> | 2017-10-31 14:55:51 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2017-11-05 15:56:32 +0100 |
commit | c85f085062a09369a471eec438f86f1e1d2a721e (patch) | |
tree | b9cd7e09d8f7b5a7be721dec7a281796f9e6101b /lib/tests/modules/declare-int-between-value.nix | |
parent | f8e6cd3465c6efdfd3b9db510c6365c31740644c (diff) | |
download | nixpkgs-c85f085062a09369a471eec438f86f1e1d2a721e.tar nixpkgs-c85f085062a09369a471eec438f86f1e1d2a721e.tar.gz nixpkgs-c85f085062a09369a471eec438f86f1e1d2a721e.tar.bz2 nixpkgs-c85f085062a09369a471eec438f86f1e1d2a721e.tar.lz nixpkgs-c85f085062a09369a471eec438f86f1e1d2a721e.tar.xz nixpkgs-c85f085062a09369a471eec438f86f1e1d2a721e.tar.zst nixpkgs-c85f085062a09369a471eec438f86f1e1d2a721e.zip |
lib/types: update docs to match the new type names
Diffstat (limited to 'lib/tests/modules/declare-int-between-value.nix')
-rw-r--r-- | lib/tests/modules/declare-int-between-value.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/tests/modules/declare-int-between-value.nix b/lib/tests/modules/declare-int-between-value.nix new file mode 100644 index 00000000000..8b2624cc5d6 --- /dev/null +++ b/lib/tests/modules/declare-int-between-value.nix @@ -0,0 +1,9 @@ +{ lib, ... }: + +{ + options = { + value = lib.mkOption { + type = lib.types.ints.between (-21) 43; + }; + }; +} |