git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit09a53440f172d911e93f4537cf0a89f595c7c8a8 authorThomas Tuegel <ttuegel@gmail.com> dateWed 24 Jun 2015, 07:57 (11 years ago) parentfa9ed76
1 file changed−6
pkgs/development/libraries/qt-5/5.4/setup-hook.sh−6
pkgs/development/libraries/qt-5/5.4/setup-hook.sh−6
@@ -24,12 +24,6 @@ addQtModule() {
2424 @lndir@/bin/lndir -silent "$1/lib" "$qtOut/lib"
2525 find "$1/lib" -printf 'lib/%P\n' >> "$qtOut/nix-support/qt-inputs"
2626 fi
27−
28− propagatedBuildInputs+=" $1"
29− fi
30−
31− if [[ -d "$1/lib/qt5/qml" ]] || [[ -d "$1/lib/qt5/plugins" ]] || [[ -d "$1/lib/qt5/imports" ]]; then
32− propagatedUserEnvPkgs+=" $1"
3327 fi
3428}
3529