diff --git a/pkgs/os-specific/linux/policycoreutils/default.nix b/pkgs/os-specific/linux/policycoreutils/default.nix index 98a2bcb4e6cf..b75405b42727 100644 --- a/pkgs/os-specific/linux/policycoreutils/default.nix +++ b/pkgs/os-specific/linux/policycoreutils/default.nix @@ -11,6 +11,8 @@ stdenv.mkDerivation rec { buildInputs = [ libsepol libselinux ]; + NIX_LDFLAGS = "-lsepol"; + makeFlags = "LOCALEDIR=$(out)/share/locale"; meta = with stdenv.lib; {