diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-03-25T18·58+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25T18·58+0100 |
commit | 5c05c238e60998b9fd276b3c4a39c860dc291200 (patch) | |
tree | 0291bf82b32516f682b438eafb0bd39047abe211 /tests | |
parent | 63e7fc509628874bf60d9e436af387bfb1bc00a5 (diff) | |
parent | 514b3c7f8345cfcbbe166981214497ed9d93ae18 (diff) |
Merge pull request #1828 from zimbatm/isPath
Add isPath primop
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/eval-okay-types.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-types.nix b/tests/lang/eval-okay-types.nix index a34775f5e602..9b58be5d1dd4 100644 --- a/tests/lang/eval-okay-types.nix +++ b/tests/lang/eval-okay-types.nix @@ -20,6 +20,8 @@ with builtins; (isFloat (1 - 2.0)) (isBool (true && false)) (isBool null) + (isPath /nix/store) + (isPath ./.) (isAttrs { x = 123; }) (isAttrs null) (typeOf (3 * 4)) |