Fix checkpolicy build; no idea how to test it
This commit is contained in:
parent
f1f0f0cf19
commit
c346d22647
|
@ -12,12 +12,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
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; {
|
||||
description = "SELinux policy compiler";
|
||||
license = licenses.gpl2;
|
||||
inherit (libsepol.meta) homepage platforms maintainers;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue