forked from mirrors/nixpkgs
qt5Full: only include derivations
This commit is contained in:
parent
a074852aa6
commit
e5b124e492
|
@ -16,16 +16,15 @@ Qml2Imports = lib/qt5/qml
|
||||||
Documentation = share/doc/qt5
|
Documentation = share/doc/qt5
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
for path in $paths; do
|
for pkg in $paths $qtbase; do
|
||||||
if [[ -d "$path/mkspecs" ]]; then
|
if [[ -d "$pkg/mkspecs" ]]; then
|
||||||
${lndir}/bin/lndir -silent "$path/mkspecs" "$out/mkspecs"
|
${lndir}/bin/lndir -silent "$pkg/mkspecs" "$out/mkspecs"
|
||||||
|
|
||||||
for dir in bin include lib share; do
|
for dir in bin include lib share; do
|
||||||
if [[ -d "$path/$dir" ]]; then
|
if [[ -d "$pkg/$dir" ]]; then
|
||||||
${lndir}/bin/lndir -silent "$path/$dir" "$out/$dir"
|
${lndir}/bin/lndir -silent "$pkg/$dir" "$out/$dir"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
''
|
''
|
||||||
|
|
|
@ -7891,7 +7891,7 @@ let
|
||||||
|
|
||||||
qt5Full = appendToName "full" (qtEnv {
|
qt5Full = appendToName "full" (qtEnv {
|
||||||
qtbase = qt5.base;
|
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 {
|
qtcreator = callPackage ../development/qtcreator {
|
||||||
|
|
Loading…
Reference in a new issue