mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
qt5: more reproducible builds
Avoid mktemp -d in sources, where pathnames can affect result.
This commit is contained in:
parent
69e0740baa
commit
f0974e1e58
|
@ -91,7 +91,7 @@ _qtSetQmakePath() {
|
|||
|
||||
if [ -z "$NIX_QT5_TMP" ]; then
|
||||
if [ -z "$NIX_QT_SUBMODULE" ]; then
|
||||
NIX_QT5_TMP=$(mktemp -d)
|
||||
NIX_QT5_TMP=$(pwd)/__nix_qt5__
|
||||
else
|
||||
NIX_QT5_TMP=$out
|
||||
fi
|
||||
|
|
|
@ -91,7 +91,7 @@ _qtSetQmakePath() {
|
|||
|
||||
if [ -z "$NIX_QT5_TMP" ]; then
|
||||
if [ -z "$NIX_QT_SUBMODULE" ]; then
|
||||
NIX_QT5_TMP=$(mktemp -d)
|
||||
NIX_QT5_TMP=$(pwd)/__nix_qt5__
|
||||
else
|
||||
NIX_QT5_TMP=$out
|
||||
fi
|
||||
|
|
|
@ -91,7 +91,7 @@ _qtSetQmakePath() {
|
|||
|
||||
if [ -z "$NIX_QT5_TMP" ]; then
|
||||
if [ -z "$NIX_QT_SUBMODULE" ]; then
|
||||
NIX_QT5_TMP=$(mktemp -d)
|
||||
NIX_QT5_TMP=$(pwd)/__nix_qt5__
|
||||
else
|
||||
NIX_QT5_TMP=$out
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue