Skip to content

Commit

Permalink
lttng-modules: don't use licenses.mit because it breaks hydra evaluation
Browse files Browse the repository at this point in the history
Hydra has these evaluation errors:
  at `nixpkgs.linuxPackages.lttngModules.i686-linux' [nixosSrc = ..., nixpkgs = ..., officialRelease = false]:
  value is an attribute set while a string was expected

because licenses.mit is an attribute set and not a string.

TODO: Licenses in pkgs/lib/licenses.nix are a mix of attr sets and
strings, this needs to be standardized.
  • Loading branch information
bjornfor committed Aug 11, 2013
1 parent 9410504 commit 81db5cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/os-specific/linux/lttng-modules/default.nix
Expand Up @@ -23,7 +23,9 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Linux kernel modules for LTTng tracing";
homepage = http://lttng.org/;
license = with licenses; [ lgpl21 gpl2 mit ];
# TODO: Add "mit" to the license list once the license attr set vs string
# decision has been made. (Having "mit" there breaks hydra evaluation.)
license = with licenses; [ lgpl21 gpl2 ];
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
Expand Down

0 comments on commit 81db5cf

Please sign in to comment.