use dontBuild instead of hacks
changes: * buildPhase = "true" * buildPhase = ":"
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation ({
|
||||
"ac_cv_lib_ihash_hurd_ihash_create=yes"
|
||||
];
|
||||
|
||||
buildPhase = ":";
|
||||
dontBuild = true;
|
||||
installPhase = "make install-data-local-headers";
|
||||
}
|
||||
else { })
|
||||
|
||||
@@ -53,5 +53,5 @@ stdenv.mkDerivation ({
|
||||
//
|
||||
|
||||
(if headersOnly
|
||||
then { buildPhase = ":"; installPhase = "make install-data"; }
|
||||
then { dontBuild = true; installPhase = "make install-data"; }
|
||||
else {}))
|
||||
|
||||
Reference in New Issue
Block a user