mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
libselinux: fix python output
This commit is contained in:
@@ -121,6 +121,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
installTargets = [ "install" ] ++ lib.optional enablePython "install-pywrap";
|
||||
|
||||
preFixup = lib.optionalString enablePython ''
|
||||
mv $out/${python3.sitePackages}/selinux/* $py/${python3.sitePackages}/selinux/
|
||||
rm -rf $out/lib/python*
|
||||
'';
|
||||
|
||||
meta = removeAttrs libsepol.meta [ "outputsToInstall" ] // {
|
||||
description = "SELinux core library";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user