[Nix-dev] nixpkgs-lint doesn't recognize meta.license in screen

Bjørn Forsman bjorn.forsman at gmail.com
Sat Sep 28 14:39:21 CEST 2013


On 28 September 2013 13:25, Peter Simons <simons at cryp.to> wrote:
> Hi guys,
>
> nixpkgs-lint complains that the package screen wouldn't have a license:
>
>   $ nixpkgs-lint -f ~/.nix-defexpr -p screen
>   === Package meta information ===
>   screen: Lacks a license
>   [...]
>
> In fact, however, it does:
>
>   meta = {
>     homepage = http://www.gnu.org/software/screen/;
>     description = "a window manager that multiplexes a physical terminal";
>     license = stdenv.lib.licenses.gpl2Plus;
>     [...]
>   };
>
> Am I missing something?

It's the attrset vs string datatype issue. See
http://comments.gmane.org/gmane.linux.distributions.nixos/11312

I attempted to change the licenses from attrsets to strings (like
Eelco suggested in the above thread), but an evaluation error
prevented me from pushing it (see last message in thread).

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list