libsemanage: move to by-name
This commit is contained in:
parent
2e4dd3a2ab
commit
fed5b5755b
@ -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"
|
||||
];
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user