intellij-idea: don't access 'shortName' license attribute

I don't think packages should poke into the license attributes.
This commit is contained in:
Bjørn Forsman 2014-08-05 07:19:00 +02:00
parent eaad8d6923
commit 310400e0f5
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ let
{ name, version, build, src, description, license }:
stdenv.mkDerivation rec {
inherit name build src license;
inherit name build src;
ideaItem = makeDesktopItem {
name = "IDEA";
exec = "idea";
@ -69,7 +69,7 @@ in {
version = "13.1.3";
build = "IC-135.909";
description = "IntelliJ IDEA 13 Community Edition";
license = stdenv.lib.licenses.asl20.shortName;
license = stdenv.lib.licenses.asl20;
src = fetchurl {
url = "http://download-ln.jetbrains.com/idea/ideaIC-${version}.tar.gz";
sha256 = "62ed937ef68df16eef4d32772b6510835527f95020db1c76643f17ed2c067b51";