From 9de17e0a2e2c3fff0d7296ee3cb23957487b6f96 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Sun, 6 Apr 2025 21:03:02 -0700 Subject: [PATCH] libsemanage: fix python native library filename We need Python in this build to install one of the build outputs with the correct filename. --- pkgs/os-specific/linux/libsemanage/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/libsemanage/default.nix b/pkgs/os-specific/linux/libsemanage/default.nix index eae78b62785d..465d06aa1033 100644 --- a/pkgs/os-specific/linux/libsemanage/default.nix +++ b/pkgs/os-specific/linux/libsemanage/default.nix @@ -32,11 +32,17 @@ stdenv.mkDerivation rec { strictDeps = true; - nativeBuildInputs = [ - bison - flex - pkg-config - ] ++ lib.optional enablePython swig; + nativeBuildInputs = + [ + bison + flex + pkg-config + ] + ++ lib.optionals enablePython [ + python + swig + ]; + buildInputs = [ libsepol libselinux