mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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
@ -1,6 +1,8 @@
|
|||||||
{ stdenv, appleDerivation }:
|
{ stdenv, appleDerivation }:
|
||||||
|
|
||||||
appleDerivation {
|
appleDerivation {
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/include
|
mkdir -p $out/include
|
||||||
cp MacTypes.h $out/include
|
cp MacTypes.h $out/include
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
{ stdenv, appleDerivation }:
|
{ stdenv, appleDerivation }:
|
||||||
|
|
||||||
appleDerivation {
|
appleDerivation {
|
||||||
postPatch = ''
|
dontBuild = true;
|
||||||
substituteInPlace $sourceRoot/Makefile \
|
|
||||||
--replace "/usr/include" "/include" \
|
|
||||||
--replace "/usr/bin/" "" \
|
|
||||||
--replace "/bin/" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
export DSTROOT=$out
|
export DSTROOT=$out
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, appleDerivation }:
|
{ stdenv, appleDerivation }:
|
||||||
|
|
||||||
appleDerivation {
|
appleDerivation {
|
||||||
|
dontBuild = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/include/
|
mkdir -p $out/include/
|
||||||
cp copyfile.h $out/include/
|
cp copyfile.h $out/include/
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, appleDerivation }:
|
{ stdenv, appleDerivation }:
|
||||||
|
|
||||||
appleDerivation {
|
appleDerivation {
|
||||||
|
dontBuild = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers
|
mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{ stdenv, appleDerivation }:
|
{ stdenv, appleDerivation }:
|
||||||
|
|
||||||
appleDerivation {
|
appleDerivation {
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/include/dispatch $out/include/os
|
mkdir -p $out/include/dispatch $out/include/os
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user