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-02-18 14:44:16 +01:00
committed by Bjørn Forsman
parent 1098c071e5
commit 44901407f0
+3 -3
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
'';
}