qt5Full: only include derivations

This commit is contained in:
Thomas Tuegel 2015-09-19 11:37:39 -05:00
parent a074852aa6
commit e5b124e492
2 changed files with 6 additions and 7 deletions

View file

@ -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
''

View file

@ -7891,7 +7891,7 @@ let
qt5Full = appendToName "full" (qtEnv {
qtbase = qt5.base;
paths = lib.filter (x: !(builtins.isFunction x)) (lib.attrValues qt5);
paths = lib.filter lib.isDerivation (lib.attrValues qt5);
});
qtcreator = callPackage ../development/qtcreator {