libsemanage: fix python native library filename

We need Python in this build to install one of the build outputs with
the correct filename.
This commit is contained in:
Morgan Jones
2025-04-06 21:03:02 -07:00
parent b87775e24d
commit 9de17e0a2e

View File

@@ -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