libselinux: use PYTHONLIBDIR instead of manual copy
This commit is contained in:
parent
059bbd041a
commit
d5cd7dd29c
|
@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
|
|||
"MAN3DIR=$(man)/share/man/man3"
|
||||
"MAN5DIR=$(man)/share/man/man5"
|
||||
"MAN8DIR=$(man)/share/man/man8"
|
||||
"PYTHONLIBDIR=$(py)/${python.sitePackages}"
|
||||
"SBINDIR=$(bin)/sbin"
|
||||
"SHLIBDIR=$(out)/lib"
|
||||
|
||||
|
@ -43,10 +44,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installTargets = [ "install" ] ++ optional enablePython "install-pywrap";
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput "${python.sitePackages}" "$py"
|
||||
'';
|
||||
|
||||
meta = removeAttrs libsepol.meta ["outputsToInstall"] // {
|
||||
description = "SELinux core library";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue