diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-09-19 11:37:39 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-09-19 11:37:39 -0500 |
commit | e5b124e492fbf546cbc8cb216801755828d3107f (patch) | |
tree | b37f33e1cb1f3c2e225723bacc32c63a7c6e3d43 /pkgs/development/libraries/qt-5/qt-env.nix | |
parent | a074852aa6307a8350245ace214795ad63b7df93 (diff) |
qt5Full: only include derivations
Diffstat (limited to 'pkgs/development/libraries/qt-5/qt-env.nix')
-rw-r--r-- | pkgs/development/libraries/qt-5/qt-env.nix | 11 |
1 files changed, 5 insertions, 6 deletions
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 - '' |