Fix checkpolicy build; no idea how to test it

This commit is contained in:
Michael Raskin 2014-08-12 04:07:29 +04:00
parent f1f0f0cf19
commit c346d22647

View file

@ -12,12 +12,14 @@ stdenv.mkDerivation rec {
buildInputs = [ libsepol libselinux bison flex ]; buildInputs = [ libsepol libselinux bison flex ];
preBuild = '' makeFlags="$makeFlags LEX=flex LIBDIR=${libsepol}/lib PREFIX=$out" ''; preBuild = ''
makeFlags="$makeFlags LEX=flex LIBDIR=${libsepol}/lib PREFIX=$out"
sed -e 's@[.]o$@& ../lex.yy.o@' -i test/Makefile
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "SELinux policy compiler"; description = "SELinux policy compiler";
license = licenses.gpl2; license = licenses.gpl2;
inherit (libsepol.meta) homepage platforms maintainers; inherit (libsepol.meta) homepage platforms maintainers;
broken = true;
}; };
} }