diff --git a/pkgs/by-name/au/audit/package.nix b/pkgs/by-name/au/audit/package.nix index bae6e65ee2b8..e33b1116c061 100644 --- a/pkgs/by-name/au/audit/package.nix +++ b/pkgs/by-name/au/audit/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, autoreconfHook, bash, + bashNonInteractive, buildPackages, linuxHeaders, python3, @@ -89,6 +90,14 @@ stdenv.mkDerivation (finalAttrs: { (if enablePython then "--with-python" else "--without-python") ]; + __structuredAttrs = true; + + # lib output is part of the mandatory nixos system closure, so avoid bash here + outputChecks.lib.disallowedRequisites = [ + bash + bashNonInteractive + ]; + postInstall = '' installShellCompletion --bash init.d/audit.bash_completion '';