Revert "st: enable build on darwin (#98668)"
This reverts commit 34133d5425f4adbf4e9337d3c2b0695e654a5082.
This commit is contained in:
parent
3cf7f6d357
commit
7bfde4b334
@ -15,9 +15,6 @@ stdenv.mkDerivation rec {
|
|||||||
inherit patches;
|
inherit patches;
|
||||||
|
|
||||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||||
patchPhase = optionalString stdenv.isDarwin ''
|
|
||||||
substituteInPlace config.mk --replace "-lrt" ""
|
|
||||||
'';
|
|
||||||
postPatch = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
postPatch = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ncurses ];
|
nativeBuildInputs = [ pkgconfig ncurses ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user