libselinux: fix python lib path

This commit is contained in:
xeji 2018-03-20 14:52:37 +01:00
parent 7ff15900f8
commit cc8bf58427

View file

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
makeFlagsArray+=("MAN3DIR=$out/share/man/man3") makeFlagsArray+=("MAN3DIR=$out/share/man/man3")
makeFlagsArray+=("MAN5DIR=$out/share/man/man5") makeFlagsArray+=("MAN5DIR=$out/share/man/man5")
makeFlagsArray+=("MAN8DIR=$out/share/man/man8") makeFlagsArray+=("MAN8DIR=$out/share/man/man8")
makeFlagsArray+=("PYSITEDIR=$out/lib/python2.7/site-packages") makeFlagsArray+=("PYSITEDIR=$out/lib/${python.libPrefix}/site-packages")
''; '';
installTargets = [ "install" ] ++ optional enablePython "install-pywrap"; installTargets = [ "install" ] ++ optional enablePython "install-pywrap";