mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
qt5: Fallback to mktemp -d for temporary QT root.
Fallback to `mktemp -d` for temporary QT root, if invoked in shell mode. Should fix problem from #27174.
This commit is contained in:
parent
ef026e02fc
commit
eabe2efa10
@ -116,7 +116,11 @@ fi
|
||||
|
||||
if [ -z "$NIX_QT5_TMP" ]; then
|
||||
if [ -z "$NIX_QT_SUBMODULE" ]; then
|
||||
NIX_QT5_TMP=$(pwd)/__nix_qt5__
|
||||
if [ -z "$IN_NIX_SHELL" ]; then
|
||||
NIX_QT5_TMP=$(pwd)/__nix_qt5__
|
||||
else
|
||||
NIX_QT5_TMP=$(mktemp -d)
|
||||
fi
|
||||
else
|
||||
NIX_QT5_TMP=$out
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user