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

@@ -5,9 +5,9 @@ assert stdenv.isDarwin;
stdenv.mkDerivation {
name = "install_name_tool";
src = "/usr/bin/install_name_tool";
unpackPhase = "true";
configurePhase = "true";
buildPhase = "true";
dontBuild = true;
installPhase = ''
mkdir -p "$out"/bin

View File

@@ -7,9 +7,8 @@ in stdenv.mkDerivation rec {
src = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk";
unpackPhase = "true";
configurePhase = "true";
buildPhase = "true";
unpackPhase = "true";
dontBuild = true;
installPhase = ''
mkdir -p $out/Developer/SDKs/

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 {}))

View File

@@ -11,9 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "04ibs0qw8bh6h6zmm5iz6lddgknwhsjq8ib3gyck6a7psw83h7gi";
};
buildPhase = "true";
dontBuild = true;
installPhase = "mkdir -p $out/lib/firmware/zd1211; cp * $out/lib/firmware/zd1211";
installPhase = ''
mkdir -p $out/lib/firmware/zd1211
cp * $out/lib/firmware/zd1211
'';
meta = {
description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip";