3
0
Fork 0
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:
Yury G. Kudryashov 2010-09-15 18:52:07 +00:00
parent f139236666
commit 139de1ea2f
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
license = "GPLv2"; license = "GPLv2";
homepage = "http://digilander.libero.it/mcostalba/"; homepage = "http://digilander.libero.it/mcostalba/";
description = "Graphical front-end to Git"; description = "Graphical front-end to Git";
platforms = stdenv.lib.platforms.all; inherit (qt.meta) platforms;
}; };
src = fetchurl src = fetchurl
{ {

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = http://www.cmake.org/; homepage = http://www.cmake.org/;
description = "Cross-Platform Makefile Generator"; 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 ]; maintainers = [ stdenv.lib.maintainers.urkud ];
}; };
} }