diff --git a/pkgs/by-name/ga/gallia/package.nix b/pkgs/by-name/ga/gallia/package.nix index 0878b750a958..7268e0475165 100644 --- a/pkgs/by-name/ga/gallia/package.nix +++ b/pkgs/by-name/ga/gallia/package.nix @@ -3,6 +3,7 @@ fetchFromGitHub, python3, cacert, + addBinToPathHook, }: python3.pkgs.buildPythonApplication rec { @@ -43,17 +44,18 @@ python3.pkgs.buildPythonApplication rec { SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; - nativeCheckInputs = with python3.pkgs; [ - pytestCheckHook - pytest-asyncio - ]; + nativeCheckInputs = + with python3.pkgs; + [ + pytestCheckHook + pytest-asyncio + ] + ++ [ + addBinToPathHook + ]; pythonImportsCheck = [ "gallia" ]; - preCheck = '' - export PATH=$out/bin:$PATH - ''; - meta = with lib; { description = "Extendable Pentesting Framework for the Automotive Domain"; homepage = "https://github.com/Fraunhofer-AISEC/gallia";