slstatus: fix overriden build
This commit is contained in:
parent
2b554db6c0
commit
581804a146
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
configFile = lib.optionalString (conf!=null) (writeText "config.def.h" conf);
|
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)
|
makeFlagsArray+=(LDLIBS="-lX11 -lxcb -lXau -lXdmcp" CC=$CC)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue