mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
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:
parent
1098c071e5
commit
44901407f0
@ -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
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user