summary refs log tree commit diff
path: root/pkgs/os-specific/linux/lttng-modules/default.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-08-11 20:35:44 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-08-11 20:35:44 +0200
commit81db5cfe0afacda09843ccae3e0eebe072688699 (patch)
tree0f1a409a8f41c691f70f63fc2e4c71fbc04b5207 /pkgs/os-specific/linux/lttng-modules/default.nix
parent94105045b4882f2c20bc4328e93144bb550c5252 (diff)
downloadnixpkgs-81db5cfe0afacda09843ccae3e0eebe072688699.tar
nixpkgs-81db5cfe0afacda09843ccae3e0eebe072688699.tar.gz
nixpkgs-81db5cfe0afacda09843ccae3e0eebe072688699.tar.bz2
nixpkgs-81db5cfe0afacda09843ccae3e0eebe072688699.tar.lz
nixpkgs-81db5cfe0afacda09843ccae3e0eebe072688699.tar.xz
nixpkgs-81db5cfe0afacda09843ccae3e0eebe072688699.tar.zst
nixpkgs-81db5cfe0afacda09843ccae3e0eebe072688699.zip
lttng-modules: don't use licenses.mit because it breaks hydra evaluation
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.
Diffstat (limited to 'pkgs/os-specific/linux/lttng-modules/default.nix')
-rw-r--r--pkgs/os-specific/linux/lttng-modules/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/lttng-modules/default.nix b/pkgs/os-specific/linux/lttng-modules/default.nix
index ee80b7632ba..7495deb231d 100644
--- a/pkgs/os-specific/linux/lttng-modules/default.nix
+++ b/pkgs/os-specific/linux/lttng-modules/default.nix
@@ -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 ];
   };