libselinux: fix build

Building libselinux 2.9 with python 3.8 causes several linker failures[1].
As this breaks several packages on staging and the glibc-230 integration
jobset[2], this should be fine as workaround.

This change can be reverted when updating to libselinux 3.0, ArchLinux
already has `libselinux` 3.0 with python 3.8[3].

[1] https://hydra.nixos.org/build/109960000
[2] https://hydra.nixos.org/eval/1564244
[3] https://aur.archlinux.org/cgit/aur.git/commit/?h=libselinux&id=f717bef8131622ad8545f4bdffe7bafdc35e9808
This commit is contained in:
Maximilian Bosch 2020-01-10 20:55:51 +01:00
parent a6298636a6
commit 780fb563c7
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -16652,7 +16652,7 @@ in
keyutils = callPackage ../os-specific/linux/keyutils { };
libselinux = callPackage ../os-specific/linux/libselinux {
python = python3;
python = python37;
};
libsemanage = callPackage ../os-specific/linux/libsemanage {