nix-super/src
Pascal Wittmann 4921223160 Print license information on '--xml --meta'
The nixpkgs manual prescribes the use of values from stdenv.lib.licenses
for the meta.license attribute. Those values are attribute sets and
currently skipped when running nix-env with '--xml --meta'. This has the
consequence that also nixpkgs-lint will report missing licenses.

With this commit nix-env with '--xml --meta' will print all attributes
of an attribute set that are of type tString. For example the output for
the package nixpkgs.hello is

    <meta name="license" type="strings">
      <string type="url" value="http://spdx.org/licenses/GPL-3.0+" />
      <string type="shortName" value="gpl3Plus" />
      <string type="fullName" value="GNU General Public License v3.0 or later" />
      <string type="spdxId" value="GPL-3.0+" />
    </meta>

This commit fixes nixpkgs-lint, too.
2015-11-21 11:43:44 +01:00
..
boost boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
bsdiff-4.3 Fix "make dist" 2014-02-01 14:38:12 +01:00
download-via-ssh More cleanup 2015-07-20 01:16:16 +02:00
libexpr int2String() -> std::to_string() 2015-10-29 13:26:55 +01:00
libmain Shut up clang warnings 2015-09-18 01:22:35 +02:00
libstore re-fix permissions for GHC 2015-11-19 16:06:21 -08:00
libutil Default arguments belong at declaration, not definition 2015-11-16 05:55:55 -05:00
nix-collect-garbage Fix compilation error due to missing ENOENT on cygwin 2015-10-18 19:04:24 +00:00
nix-daemon int2String() -> std::to_string() 2015-10-29 13:26:55 +01:00
nix-env Print license information on '--xml --meta' 2015-11-21 11:43:44 +01:00
nix-hash Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
nix-instantiate int2String() -> std::to_string() 2015-10-29 13:26:55 +01:00
nix-log2xml nix-log2xml: Handle newlines 2014-08-13 19:06:20 +02:00
nix-prefetch-url Disable TLS verification for builtin fetchurl 2015-10-21 15:14:42 +02:00
nix-store int2String() -> std::to_string() 2015-10-29 13:26:55 +01:00