diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-09-15 18:52:07 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-09-15 18:52:07 +0000 |
commit | 139de1ea2f66b6fc1e8bda062265170242bf4cb0 (patch) | |
tree | 049c53d186a08fac7c5dbc1a4ce2372337ea23bd /pkgs/development/tools/build-managers | |
parent | f1392366666fd13948799c2873735e0a49edc17b (diff) |
Don't try to build Qt guis if qt is unsupported on the platform
svn path=/nixpkgs/trunk/; revision=23812
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r-- | pkgs/development/tools/build-managers/cmake/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix index 587b7dce22048..cc5fce60e72f2 100644 --- a/pkgs/development/tools/build-managers/cmake/default.nix +++ b/pkgs/development/tools/build-managers/cmake/default.nix @@ -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 ]; }; } |