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