wmname: fix cross-compilation
This commit is contained in:
parent
d2972cac85
commit
72dbc9005e
|
@ -9,9 +9,15 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5";
|
sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace "@strip" "#@strip"
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ libX11 ];
|
buildInputs = [ libX11 ];
|
||||||
|
|
||||||
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
|
makeFlags = [ "CC:=$(CC)" ];
|
||||||
|
|
||||||
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Prints or set the window manager name property of the root window";
|
description = "Prints or set the window manager name property of the root window";
|
||||||
|
|
Loading…
Reference in a new issue