qt54: don't propagate build inputs
This disables propagated of Qt 5 build inputs at the request of @edolstra. If this breaks your build, you need to add the missing dependencies yourself. If this breaks your package at runtime, you need to wrap your package to set either the plugin path or the QML import path.
This commit is contained in:
parent
fa9ed76122
commit
09a53440f1
|
@ -24,12 +24,6 @@ addQtModule() {
|
|||
@lndir@/bin/lndir -silent "$1/lib" "$qtOut/lib"
|
||||
find "$1/lib" -printf 'lib/%P\n' >> "$qtOut/nix-support/qt-inputs"
|
||||
fi
|
||||
|
||||
propagatedBuildInputs+=" $1"
|
||||
fi
|
||||
|
||||
if [[ -d "$1/lib/qt5/qml" ]] || [[ -d "$1/lib/qt5/plugins" ]] || [[ -d "$1/lib/qt5/imports" ]]; then
|
||||
propagatedUserEnvPkgs+=" $1"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue