mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Fix checkpolicy build; no idea how to test it
This commit is contained in:
parent
f1f0f0cf19
commit
c346d22647
1 changed files with 4 additions and 2 deletions
|
@ -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