treewide: cleanup phases from last commit

The last commit broken Darwin stdenv. We still need to skip some
phases when Apple provides a Makefile that shouldn’t be used.
This commit is contained in:
Matthew Bauer 2018-05-06 16:07:55 -05:00
parent 295815bec7
commit 9811bf2258
5 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,8 @@
{ stdenv, appleDerivation }:
appleDerivation {
dontBuild = true;
installPhase = ''
mkdir -p $out/include
cp MacTypes.h $out/include

View File

@ -1,12 +1,7 @@
{ stdenv, appleDerivation }:
appleDerivation {
postPatch = ''
substituteInPlace $sourceRoot/Makefile \
--replace "/usr/include" "/include" \
--replace "/usr/bin/" "" \
--replace "/bin/" ""
'';
dontBuild = true;
installPhase = ''
export DSTROOT=$out

View File

@ -1,6 +1,7 @@
{ stdenv, appleDerivation }:
appleDerivation {
dontBuild = true;
installPhase = ''
mkdir -p $out/include/
cp copyfile.h $out/include/

View File

@ -1,6 +1,7 @@
{ stdenv, appleDerivation }:
appleDerivation {
dontBuild = true;
installPhase = ''
mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers

View File

@ -1,6 +1,8 @@
{ stdenv, appleDerivation }:
appleDerivation {
dontConfigure = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/include/dispatch $out/include/os