On Wed, 08 Feb 2012 16:37:58 +0100, Eelco Dolstra <e.dols...@tudelft.nl> wrote: > Hi, > > On 25/02/10 14:06, Sander van der Burg wrote: > > > Log: > > Added initial licenses attributeset to specify meta.license attributes more > > concisely > > > + asl20 = { > > + shortName = "ASL2.0"; > > + fullName = "Apache Software License 2.0"; > > + url = http://www.apache.org/licenses/LICENSE-2.0; > > + }; > ... > > I just noticed that meta.license attributes specified using > stdenv.lib.licenses.* don't work, because meta attributes are not allowed to > be > attribute sets. (They can be strings, lists of strings or integers.)
How about attribute sets where all values are strings? It sounds like it is an requirement to easily generate a string representation of the mata attribute. Or would it be possible to use the fullName or ShortName as "string value" of the attribute set? > Thus, for > instance, licenses specified in this way don't show up in "nix-env -q --meta > --xml" or in Hydra build pages. > > What to do about this? For now we should probably change the licenses in > pkgs/lib/licenses.nix to be strings. -- Florian Friesdorf <f...@chaoflow.net> GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083 Jabber/XMPP: f...@chaoflow.net IRC: chaoflow on freenode,ircnet,blafasel,OFTC
pgptnXyMMcTbq.pgp
Description: PGP signature
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev