pkg/path: activate OS-dependent version
This also fixes a bad interaction between validators
and variable arguments: IsAbs qualifies as a validator,
but it is ambiguous to allow both. In the futurre we
could introduce an AbsDir function, or alike, that
functions only as a validator. Also `must` would help
here.
The fix has been left in this CL, as it isn't a problem
before this CL and it makes the context clear.
Overall, this doesn't seem to be too big of a deal.
Change-Id: I4f28ad507cd4d8a42c3d02bde28be53b7db3ad63
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/7846
Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>