fluxbox: fix @PREFIX@ in fluxbox-generate_menu script

This commit is contained in:
José Romildo Malaquias 2016-05-23 08:28:19 -03:00
parent 2964212b45
commit 16fc742bcf

View File

@ -10,13 +10,22 @@ stdenv.mkDerivation rec {
name = "fluxbox-${version}";
version = "1.3.7";
buildInputs = [ pkgconfig freetype fribidi libXext libXft libXpm libXrandr libXrender xextproto libXinerama imlib2 ];
src = fetchurl {
url = "mirror://sourceforge/fluxbox/${name}.tar.xz";
sha256 = "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ freetype fribidi libXext libXft libXpm libXrandr libXrender xextproto libXinerama imlib2 ];
enableParallelBuilding = true;
preConfigure = ''
substituteInPlace util/fluxbox-generate_menu.in \
--subst-var-by PREFIX "$out"
'';
meta = {
description = "Full-featured, light-resource X window manager";
longDescription = ''