xorg.xorgcffiles: Don't use darwin's /usr/bin
All imake (xmkmf) based builds use the lib/X11/config/darwin.cf file to define locations of cpp, cc, c++ (in /usr/bin by default). We remove the directoy part to force darwin builds to search the $PATH for those commands.
This commit is contained in:
parent
a6425fc66d
commit
820da05d78
@ -2570,6 +2570,9 @@ let
|
|||||||
url = mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2;
|
url = mirror://xorg/individual/util/xorg-cf-files-1.0.6.tar.bz2;
|
||||||
sha256 = "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd";
|
sha256 = "0kckng0zs1viz0nr84rdl6dswgip7ndn4pnh5nfwnviwpsfmmksd";
|
||||||
};
|
};
|
||||||
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
substituteInPlace $out/lib/X11/config/darwin.cf --replace "/usr/bin/" ""
|
||||||
|
'';
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ ];
|
buildInputs = [ ];
|
||||||
meta.platforms = stdenv.lib.platforms.unix;
|
meta.platforms = stdenv.lib.platforms.unix;
|
||||||
|
Loading…
Reference in New Issue
Block a user