wmname: fix cross-compilation

+7 -1
+7 -1
pkgs/applications/misc/wmname/default.nix
··· 9 sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5"; 10 }; 11 12 buildInputs = [ libX11 ]; 13 14 - preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk''; 15 16 meta = { 17 description = "Prints or set the window manager name property of the root window";
··· 9 sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5"; 10 }; 11 12 + postPatch = '' 13 + substituteInPlace Makefile --replace "@strip" "#@strip" 14 + ''; 15 + 16 buildInputs = [ libX11 ]; 17 18 + makeFlags = [ "CC:=$(CC)" ]; 19 + 20 + installFlags = [ "PREFIX=$(out)" ]; 21 22 meta = { 23 description = "Prints or set the window manager name property of the root window";