Skip to content

Commit

Permalink
kdeFramework: only compare version once
Browse files Browse the repository at this point in the history
  • Loading branch information
groxxda committed Oct 24, 2016
1 parent 260335b commit b4161cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/development/libraries/kde-frameworks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ let

});

kdeFramework = args:
kdeFramework = let
broken = builtins.compareVersions self.qtbase.version "5.6.0" < 0;
in args:
let
inherit (args) name;
inherit (srcs."${name}") src version;
Expand All @@ -50,7 +52,7 @@ let
];
platforms = lib.platforms.linux;
homepage = "http://www.kde.org";
broken = builtins.compareVersions self.qtbase.version "5.6.0" < 0;
inherit broken;
} // (args.meta or {});
});

Expand Down

0 comments on commit b4161cf

Please sign in to comment.