[Nix-dev] Re: ZeroMQ package.

Yury G. Kudryashov urkud+nix at ya.ru
Tue May 31 21:26:10 CEST 2011


Arthur Smyles wrote:

> I created a Nix expression for installing zeromq. See attached
See a few comments below.
> 
>  +       version = "2.1.7";
>  +       name = "zeromq";
This results in /nix/store/HASH-zeromq instead of /nix/store/HASH-
zeromq-2.1.7.

You should use something like:
version = "2.1.7";
pname = "zeromq";
name = "${pname}-${version}";

Or just
name = "zeromq-2.1.7";
since you don't need ${version} without ${name}.
>  +               license = "lgpl3";
Try using stdenv.lib.licenses.




More information about the nix-dev mailing list