From e5b124e492fbf546cbc8cb216801755828d3107f Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 19 Sep 2015 11:37:39 -0500 Subject: qt5Full: only include derivations --- pkgs/development/libraries/qt-5/qt-env.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pkgs/development') diff --git a/pkgs/development/libraries/qt-5/qt-env.nix b/pkgs/development/libraries/qt-5/qt-env.nix index 01ddbf3142823..e6973015acaa3 100644 --- a/pkgs/development/libraries/qt-5/qt-env.nix +++ b/pkgs/development/libraries/qt-5/qt-env.nix @@ -16,16 +16,15 @@ Qml2Imports = lib/qt5/qml Documentation = share/doc/qt5 EOF -for path in $paths; do - if [[ -d "$path/mkspecs" ]]; then - ${lndir}/bin/lndir -silent "$path/mkspecs" "$out/mkspecs" +for pkg in $paths $qtbase; do + if [[ -d "$pkg/mkspecs" ]]; then + ${lndir}/bin/lndir -silent "$pkg/mkspecs" "$out/mkspecs" for dir in bin include lib share; do - if [[ -d "$path/$dir" ]]; then - ${lndir}/bin/lndir -silent "$path/$dir" "$out/$dir" + if [[ -d "$pkg/$dir" ]]; then + ${lndir}/bin/lndir -silent "$pkg/$dir" "$out/$dir" fi done fi done - '' -- cgit 1.4.1