[Nix-dev] type for path-or-string ?

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Nov 1 00:02:23 CET 2013


Hi,

On 31/10/13 23:37, Mathijs Kwik wrote:

> So I changed the type of this option to listOf path locally.
> Is there a way to allow both? Something like "listOf (Either str path)"?

Hm yes, that would be useful.  But in the meantime we should change it back to
"listOf unspecified".

I actually made it "listOf path" first, but then I realised you can have strings
like "~/.ssh/authorized_keys" in there.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list