From d28551252b7896dfe100898acd22f1c0f6bd32ae Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Thu, 29 Feb 2024 01:34:56 +0100 Subject: [PATCH] policycoreutils: 3.3 -> 3.6 Fix #292143. --- pkgs/os-specific/linux/policycoreutils/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/policycoreutils/default.nix b/pkgs/os-specific/linux/policycoreutils/default.nix index 33875049747d..5fdb3583b5cf 100644 --- a/pkgs/os-specific/linux/policycoreutils/default.nix +++ b/pkgs/os-specific/linux/policycoreutils/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "policycoreutils"; - version = "3.3"; + version = "3.6"; inherit (libsepol) se_url; src = fetchurl { url = "${se_url}/${version}/policycoreutils-${version}.tar.gz"; - sha256 = "0y0hl32b2ks7r0fhbx3k2j1gqqms5aplyasjs3fz50caxl6096a1"; + hash = "sha256-p2rEMepAo1qDFkzpAHkJwcbBL9EFZif2IhROSnBcCiw="; }; postPatch = '' @@ -15,8 +15,6 @@ stdenv.mkDerivation rec { substituteInPlace po/Makefile \ --replace /usr/bin/install install --replace /usr/share /share substituteInPlace newrole/Makefile --replace /usr/share /share - - sed -i -e '39i#include ' run_init/run_init.c ''; nativeBuildInputs = [ gettext ];