libsemanage: move to by-name

This commit is contained in:
Morgan Jones 2025-04-06 21:35:31 -07:00
parent 2e4dd3a2ab
commit fed5b5755b
No known key found for this signature in database
GPG Key ID: 5C3EB94D198F1491
2 changed files with 4 additions and 8 deletions

View File

@ -11,7 +11,7 @@
audit,
enablePython ? true,
swig ? null,
python ? null,
python3 ? null,
}:
stdenv.mkDerivation rec {
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
pkg-config
]
++ lib.optionals enablePython [
python
python3
swig
];
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
libselinux
bzip2
audit
] ++ lib.optional enablePython python;
] ++ lib.optional enablePython python3;
makeFlags = [
"PREFIX=$(out)"
@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
"MAN5DIR=$(man)/share/man/man5"
"PYTHON=python"
"PYPREFIX=python"
"PYTHONLIBDIR=$(py)/${python.sitePackages}"
"PYTHONLIBDIR=$(py)/${python3.sitePackages}"
"DEFAULT_SEMANAGE_CONF_LOCATION=$(out)/etc/selinux/semanage.conf"
];

View File

@ -13040,10 +13040,6 @@ with pkgs;
cryptodev = linuxPackages.cryptodev;
libsemanage = callPackage ../os-specific/linux/libsemanage {
python = python3;
};
librasterlite2 = callPackage ../development/libraries/librasterlite2 {
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
};