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:
parent
295815bec7
commit
9811bf2258
5 changed files with 7 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
{ stdenv, appleDerivation }:
|
||||
|
||||
appleDerivation {
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
cp MacTypes.h $out/include
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, appleDerivation }:
|
||||
|
||||
appleDerivation {
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/include/
|
||||
cp copyfile.h $out/include/
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, appleDerivation }:
|
||||
|
||||
appleDerivation {
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{ stdenv, appleDerivation }:
|
||||
|
||||
appleDerivation {
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/include/dispatch $out/include/os
|
||||
|
||||
|
|
Loading…
Reference in a new issue