forked from mirrors/nixpkgs
Don't try to build Qt guis if qt is unsupported on the platform
svn path=/nixpkgs/trunk/; revision=23812
This commit is contained in:
parent
f139236666
commit
139de1ea2f
|
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
|||
license = "GPLv2";
|
||||
homepage = "http://digilander.libero.it/mcostalba/";
|
||||
description = "Graphical front-end to Git";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
inherit (qt.meta) platforms;
|
||||
};
|
||||
src = fetchurl
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = http://www.cmake.org/;
|
||||
description = "Cross-Platform Makefile Generator";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue