qtEnv: fix paths in qt.conf

The shell variables from setup hook are not visible here, so instead substitute
them from Nix side.
This commit is contained in:
Nikolay Amiantov 2018-01-04 07:03:46 +03:00 committed by Bjørn Forsman
parent 1098c071e5
commit 44901407f0

View File

@ -13,9 +13,9 @@ buildEnv {
cat >"$out/bin/qt.conf" <<EOF
[Paths]
Prefix = $out
Plugins = $qtPluginPrefix
Qml2Imports = $qtQmlPrefix
Documentation = $qtDocPrefix
Plugins = ${qtbase.qtPluginPrefix}
Qml2Imports = ${qtbase.qtQmlPrefix}
Documentation = ${qtbase.qtDocPrefix}
EOF
'';
}