use dontBuild instead of hacks

changes:
 * buildPhase = "true"
 * buildPhase = ":"
This commit is contained in:
Robin Gloster
2016-05-04 10:08:35 +00:00
parent aadaa91379
commit 9820cb1bf2
58 changed files with 263 additions and 277 deletions

View File

@@ -87,7 +87,7 @@ stdenv.mkDerivation ({
//
(if headersOnly
then { buildPhase = ":"; installPhase = "make install-headers"; }
then { dontBuild = true; installPhase = "make install-headers"; }
else (if (cross != null)
then {
crossConfig = cross.config;

View File

@@ -46,7 +46,7 @@ stdenv.mkDerivation ({
"ac_cv_lib_ihash_hurd_ihash_create=yes"
];
buildPhase = ":";
dontBuild = true;
installPhase = "make install-data-local-headers";
}
else { })

View File

@@ -53,5 +53,5 @@ stdenv.mkDerivation ({
//
(if headersOnly
then { buildPhase = ":"; installPhase = "make install-data"; }
then { dontBuild = true; installPhase = "make install-data"; }
else {}))