[Nix-dev] Nixpkgs versioning

Jakob Gillich jakob at gillich.me
Wed Mar 30 10:55:18 CEST 2016


FYI npm also uses @ for this purpose (e.g. npm install foo at 1.0). I don't
think I ever had to escape it (?).

On Wed, Mar 30, 2016, at 10:32 AM, Vladimír Čunát wrote:
> On 03/29/2016 02:33 PM, Arseniy Seroka wrote:
> > I saw post about guix release and there was introduced a '@' 
> > delimiter in pkg's name to separate version from name. Maybe we can use it 
> > in nix too?
> 
> It seems rather unconventional and currently I can't see enough
> advantages to convince me personally.
> 
> In shell commands you will typically need to escape the character, which
> would affect commands like `nix-env -i foo\@ver` but that shouldn't
> happen too often. What would be worse, if this delimiter was used in
> filesystem paths like /nix/store/hash-fooname at version/... we would have
> to escape all of the occurrences and I'd expect many scripts to break.
> 
> --Vladimir
> 
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> Email had 1 attachment:
> + smime.p7s
>   5k (application/pkcs7-signature)


More information about the nix-dev mailing list