[Nix-dev] Missing descriptions in Nixpkgs

Michael Raskin 7c6f434c at mail.ru
Sun Dec 14 12:35:38 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ludovic Courtès wrote:
> I just stumbled upon the following error with Nixpkgs trunk:
> 
>   $ nix-env -qa --description \*
>   error: in a string concatenation:
>   evaluation aborted with the following error message: `Write a description'

Sorry.

> (The problem disappears when `--description' is omitted.)  The error
> message is very terse, which makes it hard to find out which attribute
> lacks a `meta.description'.

I have made a builderDefs package template. It aborts when name or
description is missing. Unfortunately, description is not usually
evaluated at all, so I missed the description in trivial qemu-image package.

> Any idea how to fix it, 

Fixed, thanks for reporting.

> or how to find out which attribute is invalid?

As usual with abort-messages - grep helps...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJRO96AAoJEE6tnN0aWvw3i3YIAI434LS/mH332Oa4WjNWxqvT
BAKYWw1dzxriezv745sUhKsstkgX0ohUP4BicQUgaU52zcb1LlupGyTABP0etz9w
AUGkkpjqQtM4HBVIpUzYE48t6drerexl2UqBQbxuNXWbIsDiVLalRKHLC7Qxc5y2
cbO/VQchbn1c2YC++fuOlCL48IOVoHz9MFlgdyB3iO1CK87xtpoBlBdFunp+hHPS
N0IBVp/73HUcCXJZNkkA0bZHJTE0POucjRNfTJK9dVUaOw5o7fSmCizdO72BDvE9
xYIar8HGhiy+cWucTmLw+vTeYVP/L2SuzxcUSZcuz2G3j1dYphJAduG2ARE3rAE=
=VjrI
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list