qt4: parallel-build impurity fix
Modified to avoid unnecessary rebuilds.
This commit is contained in:
parent
bc623ee480
commit
6a29a56c12
1 changed files with 11 additions and 1 deletions
|
@ -20,7 +20,7 @@ let v = "4.8.4"; in
|
|||
# * move some plugins (e.g., SQL plugins) to dedicated derivations to avoid
|
||||
# false build-time dependencies
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation ( rec {
|
||||
name = "qt-${v}";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -147,3 +147,13 @@ stdenv.mkDerivation rec {
|
|||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
# ToDo: this attribute is optional *only* to prevent rebuild on hydra
|
||||
// stdenv.lib.optionalAttrs developerBuild {
|
||||
# fix underspecified dependency in a generated makefile
|
||||
postConfigure = ''
|
||||
substituteInPlace tools/designer/src/lib/Makefile --replace \
|
||||
"moc_qtgradientviewdialog.cpp:" "moc_qtgradientviewdialog.cpp: .uic/release-shared/ui_qtgradientview.h"
|
||||
'';
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue