diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2014-08-12 04:07:29 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-08-12 04:07:29 +0400 |
commit | c346d2264796663fd972ee4cb6a188dd32cbf7e3 (patch) | |
tree | 5c3ed1f27580206968c2a5edccf33af72180d79a /pkgs/os-specific/linux/checkpolicy | |
parent | f1f0f0cf199d7f7dc96f1047ac0ea3d8f7ac6bff (diff) |
Fix checkpolicy build; no idea how to test it
Diffstat (limited to 'pkgs/os-specific/linux/checkpolicy')
-rw-r--r-- | pkgs/os-specific/linux/checkpolicy/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/checkpolicy/default.nix b/pkgs/os-specific/linux/checkpolicy/default.nix index 87cfc8ed939bc..2b80114fe4751 100644 --- a/pkgs/os-specific/linux/checkpolicy/default.nix +++ b/pkgs/os-specific/linux/checkpolicy/default.nix @@ -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; }; } |