forked from mirrors/nixpkgs
slstatus: fix overriden build
This commit is contained in:
parent
2b554db6c0
commit
581804a146
|
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
configFile = lib.optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||
preBuild = lib.optionalString (conf!=null) "cp ${configFile} config.def.h" + ''
|
||||
preBuild = ''
|
||||
${lib.optionalString (conf!=null) "cp ${configFile} config.def.h"}
|
||||
makeFlagsArray+=(LDLIBS="-lX11 -lxcb -lXau -lXdmcp" CC=$CC)
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue