darwin: use dontUnpack instead of phases
This commit is contained in:
parent
006242fd5a
commit
edfdd0f3e4
@ -18,7 +18,6 @@ let
|
|||||||
|
|
||||||
buildInputs = [ xar cpio python pbzx ];
|
buildInputs = [ xar cpio python pbzx ];
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" ];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
@ -52,7 +51,7 @@ let
|
|||||||
framework = name: deps: stdenv.mkDerivation {
|
framework = name: deps: stdenv.mkDerivation {
|
||||||
name = "apple-framework-${name}";
|
name = "apple-framework-${name}";
|
||||||
|
|
||||||
phases = [ "installPhase" "fixupPhase" ];
|
dontUnpack = true;
|
||||||
|
|
||||||
# because we copy files from the system
|
# because we copy files from the system
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
@ -137,7 +136,7 @@ in rec {
|
|||||||
libs = {
|
libs = {
|
||||||
xpc = stdenv.mkDerivation {
|
xpc = stdenv.mkDerivation {
|
||||||
name = "apple-lib-xpc";
|
name = "apple-lib-xpc";
|
||||||
phases = [ "installPhase" "fixupPhase" ];
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/include
|
mkdir -p $out/include
|
||||||
@ -150,7 +149,7 @@ in rec {
|
|||||||
|
|
||||||
Xplugin = stdenv.mkDerivation {
|
Xplugin = stdenv.mkDerivation {
|
||||||
name = "apple-lib-Xplugin";
|
name = "apple-lib-Xplugin";
|
||||||
phases = [ "installPhase" "fixupPhase" ];
|
dontUnpack = true;
|
||||||
|
|
||||||
# Not enough
|
# Not enough
|
||||||
__propagatedImpureHostDeps = [ "/usr/lib/libXplugin.1.dylib" ];
|
__propagatedImpureHostDeps = [ "/usr/lib/libXplugin.1.dylib" ];
|
||||||
@ -168,7 +167,7 @@ in rec {
|
|||||||
|
|
||||||
utmp = stdenv.mkDerivation {
|
utmp = stdenv.mkDerivation {
|
||||||
name = "apple-lib-utmp";
|
name = "apple-lib-utmp";
|
||||||
phases = [ "installPhase" "fixupPhase" ];
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/include
|
mkdir -p $out/include
|
||||||
|
Loading…
x
Reference in New Issue
Block a user