treewide: Remove phases

This commit is contained in:
Matthew Justin Bauer 2018-05-03 21:17:14 -05:00 committed by Matthew Bauer
parent 5f65ec3f22
commit 295815bec7
23 changed files with 7 additions and 53 deletions

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include
cp MacTypes.h $out/include

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include/CommonCrypto
cp include/* $out/include/CommonCrypto

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation, ed, unifdef }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
nativeBuildInputs = [ ed unifdef ];
installPhase = ''

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation, ed, unifdef, Libc_old, Libc_10-9 }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
nativeBuildInputs = [ ed unifdef ];
# TODO: asl.h actually comes from syslog project now

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
substituteInPlace xcodescripts/install_files.sh \
--replace "/usr/local/" "/" \

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include
cp notify.h $out/include

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation, developer_cmds }:
appleDerivation rec {
phases = [ "unpackPhase" "installPhase" ];
buildInputs = [ developer_cmds ];
installPhase = ''

View File

@ -3,9 +3,6 @@
removefile, libresolv, Libnotify, libplatform, libpthread, mDNSResponder, launchd, libutil, version }:
appleDerivation rec {
dontBuild = true;
dontConfigure = true;
nativeBuildInputs = [ cpio ];
outputs = [ "out" "dev" ];

View File

@ -1,9 +1,7 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
postUnpack = ''
postPatch = ''
substituteInPlace $sourceRoot/Makefile \
--replace "/usr/include" "/include" \
--replace "/usr/bin/" "" \

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include/
cp copyfile.h $out/include/

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/lib $out/include
ln -s /usr/lib/dyld $out/lib/dyld

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
# No clue why the same file has two different names. Ask Apple!
installPhase = ''
mkdir -p $out/include/ $out/include/servers

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include
cp *.h $out/include/

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include/dispatch $out/include/os

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir $out
cp -r include $out/include

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation, libdispatch, xnu }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
propagatedBuildInputs = [ libdispatch xnu ];
installPhase = ''

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation, Libinfo, configd, mDNSResponder }:
appleDerivation {
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
buildInputs = [ Libinfo configd mDNSResponder ];
buildPhase = ''

View File

@ -2,8 +2,6 @@
# all symbols are located in libSystem
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include
cp *.h $out/include

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
mkdir -p $out/include/ppp

View File

@ -1,8 +1,6 @@
{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/include/
cp removefile.h checkint.h $out/include/

View File

@ -14,7 +14,6 @@ in stdenv.mkDerivation rec {
sha256 = "70bb550cc14eca80b9825f4ae9bfbf7f076bb75777311be428bc30a7eb7a6f7e";
};
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];
outputs = [ "out" "toolchain" ];