mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
Merge pull request #85775 from geistesk/revert-85443-st
This commit is contained in:
commit
e0cf3f886e
|
@ -13,9 +13,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
inherit patches;
|
||||
|
||||
prePatch = optionalString (conf != null) ''
|
||||
cp ${writeText "config.def.h" conf} config.def.h
|
||||
'';
|
||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||
postPatch = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ncurses ];
|
||||
buildInputs = [ libX11 libXft ] ++ extraLibs;
|
||||
|
|
Loading…
Reference in a new issue