[Nix-dev] quoted vs unquoted urls in Nix expressions

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Feb 18 14:27:43 CET 2013


Hi,

On 17/02/13 15:16, Marc Weber wrote:

>> What is the difference between quoted and unquoted URLs in Nix
>> expressions? In nixpkgs the fetchurl urls are sometimes quoted and
>> sometimes not.
> 
> nix has urls as native type AFAIK.
> let str = 'foo'
> let url= http://bar

Strictly speaking, URLs are not a separate type but just another kind of string
literal.

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


More information about the nix-dev mailing list