From d08be77171b356a9cdf57af9bba2d96290dbfc8c Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Thu, 3 Feb 2022 16:18:43 -0800 Subject: [PATCH] audit: use python3 --- pkgs/os-specific/linux/audit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/audit/default.nix b/pkgs/os-specific/linux/audit/default.nix index b685de0d14d0..de71b7d8c3e0 100644 --- a/pkgs/os-specific/linux/audit/default.nix +++ b/pkgs/os-specific/linux/audit/default.nix @@ -3,7 +3,7 @@ runCommand, autoreconfHook, autoconf, automake, libtool, - enablePython ? true, python, swig, + enablePython ? true, python3, swig, linuxHeaders ? stdenv.cc.libc.linuxHeaders }: @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = [ autoreconfHook ]; - buildInputs = lib.optionals enablePython [ python swig ]; + buildInputs = lib.optionals enablePython [ python3 swig ]; configureFlags = [ # z/OS plugin is not useful on Linux,