Sander van der Burg - EWI wrote: >> Yes, this is probably best, but we'll have to teach nix-env about the >> version >> attribute. A big advantage is that we get rid of the ambiguity between >> the name part and the version part in names such "foo-cvs". > > Ok +1, > > I'm in favour for this solution, but to implement this you have to make > some major changes, right? Maybe this is a nice little hobby project in > case you're bored, hehe.
What about this: mkDerivation = a : if a ? version then mkDerivation (removeAttrs a "version" // { name = "${a.name}-${a.version}"; }) else old_expr _______________________________________________ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev