From 780fb563c74171aafc2fb802cfdebd56a68d0705 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 10 Jan 2020 20:55:51 +0100 Subject: [PATCH] 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 --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4a5c95b42547..a0c56c162104 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {