Hi, [EMAIL PROTECTED] (Pjotr Prins) writes:
> Quite a few packages have duplications of version numbers hard-coded.
> One way to prevent that is defining a variable 'version'.
Often, using "recursive" attribute sets avoids duplication:
stdenv.mkDerivation rec {
name = "foo-1.2";
src = fetchurl {
url = "mirror://.../${name}.tar.gz";
...
Thanks,
Ludovic.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev
