From facb0551a47fe38b26c52aea8865081895c2c86e Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 9 Dec 2024 20:26:40 +0800 Subject: [PATCH] hyperv-daemons: remove python2 --- pkgs/os-specific/linux/hyperv-daemons/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/hyperv-daemons/default.nix b/pkgs/os-specific/linux/hyperv-daemons/default.nix index 5539e605ca0e..ca4174696602 100644 --- a/pkgs/os-specific/linux/hyperv-daemons/default.nix +++ b/pkgs/os-specific/linux/hyperv-daemons/default.nix @@ -1,7 +1,6 @@ { stdenv, lib, - python2, python3, kernel, makeWrapper, @@ -20,7 +19,7 @@ let inherit (kernel) src version; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ (if lib.versionOlder version "4.19" then python2 else python3) ]; + buildInputs = [ python3 ]; # as of 4.9 compilation will fail due to -Werror=format-security hardeningDisable = [ "format" ];