mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user