mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
qt4: parallel-build impurity fix
Modified to avoid unnecessary rebuilds.
This commit is contained in:
parent
bc623ee480
commit
6a29a56c12
@ -20,7 +20,7 @@ let v = "4.8.4"; in
|
|||||||
# * move some plugins (e.g., SQL plugins) to dedicated derivations to avoid
|
# * move some plugins (e.g., SQL plugins) to dedicated derivations to avoid
|
||||||
# false build-time dependencies
|
# false build-time dependencies
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation ( rec {
|
||||||
name = "qt-${v}";
|
name = "qt-${v}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -147,3 +147,13 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = platforms.linux;
|
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 New Issue
Block a user