Re: [Nix-dev] Confused about packages

2015-05-19 Thread Roger Qiu
Wouldn't it be better for version numbers to always exist? That way it's simple to know the exact version of your package that you're installing, even if it's just one package. I'd prefer for it not to be random. On 16/05/2015 7:27 AM, Vladimír Čunát wrote: Hi. On 05/15/2015 11:09 PM, Amy de

Re: [Nix-dev] Confused about packages

2015-05-19 Thread Marc Weber
Excerpts from Roger Qiu's message of Tue May 19 05:56:30 + 2015: Wouldn't it be better for version numbers to always exist? You're totally right that the mkDerivation { name =name-version } version should always exist. Thus if you find cases just create a topic branch, fix, and

[Nix-dev] Confused about packages

2015-05-15 Thread Amy de Buitléir
I'm new to NixOS, and I'm confused about the relation between packages, nix-env, and /etc/nixos/configuration.nix. In case it matters, I'm on nixos-unstable: [root@wombat9000:~]# nix-channel --list nixos https://nixos.org/channels/nixos-unstable Q 1. Why do some packages have version numbers,

Re: [Nix-dev] Confused about packages

2015-05-15 Thread Marc Weber
[ with and without version numbers ] Version numbers get added if people find that there is need to keep multiple versions. Thus its kind of random where / how to find package names See https://nixos.org/wiki/Howto_find_a_package_in_NixOS Marc Weber

Re: [Nix-dev] Confused about packages

2015-05-15 Thread Vladimír Čunát
Hi. On 05/15/2015 11:09 PM, Amy de Buitléir wrote: Q 1. Why do some packages have version numbers, and some don't? Are the ones without version numbers some sort of virtual package? Missing version should be considered a bug, I believe, at least in most cases. I versioned dmenu2 in d41798321.