Loading pkgs/tools/security/fail2ban/default.nix +7 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub , python3 , fetchpatch , installShellFiles }: python3.pkgs.buildPythonApplication rec { Loading @@ -14,6 +15,10 @@ python3.pkgs.buildPythonApplication rec { sha256 = "q4U9iWCa1zg8sA+6pPNejt6v/41WGIKN5wITJCrCqQE="; }; outputs = [ "out" "man" ]; nativeBuildInputs = [ installShellFiles ]; pythonPath = with python3.pkgs; lib.optionals stdenv.isLinux [ systemd Loading Loading @@ -71,6 +76,8 @@ python3.pkgs.buildPythonApplication rec { '' # see https://github.com/NixOS/nixpkgs/issues/4968 rm -r "${sitePackages}/etc" installManPage man/*.[1-9] '' + lib.optionalString stdenv.isLinux '' # see https://github.com/NixOS/nixpkgs/issues/4968 rm -r "${sitePackages}/usr" Loading Loading
pkgs/tools/security/fail2ban/default.nix +7 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub , python3 , fetchpatch , installShellFiles }: python3.pkgs.buildPythonApplication rec { Loading @@ -14,6 +15,10 @@ python3.pkgs.buildPythonApplication rec { sha256 = "q4U9iWCa1zg8sA+6pPNejt6v/41WGIKN5wITJCrCqQE="; }; outputs = [ "out" "man" ]; nativeBuildInputs = [ installShellFiles ]; pythonPath = with python3.pkgs; lib.optionals stdenv.isLinux [ systemd Loading Loading @@ -71,6 +76,8 @@ python3.pkgs.buildPythonApplication rec { '' # see https://github.com/NixOS/nixpkgs/issues/4968 rm -r "${sitePackages}/etc" installManPage man/*.[1-9] '' + lib.optionalString stdenv.isLinux '' # see https://github.com/NixOS/nixpkgs/issues/4968 rm -r "${sitePackages}/usr" Loading