diff --git a/pkgs/tools/networking/zap/default.nix b/pkgs/tools/networking/zap/default.nix index c8168d22249..0a8b3903618 100644 --- a/pkgs/tools/networking/zap/default.nix +++ b/pkgs/tools/networking/zap/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { #!${runtimeShell} export PATH="${lib.makeBinPath [ jre ]}:\$PATH" export JAVA_HOME='${jre}' - if ! [ -f "~/.ZAP/config.xml" ];then + if ! [ -f "\$HOME/.ZAP/config.xml" ];then mkdir -p "\$HOME/.ZAP" head -n 2 $out/share/${pname}/xml/config.xml > "\$HOME/.ZAP/config.xml" echo "${version_tag}" >> "\$HOME/.ZAP/config.xml" @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.owasp.org/index.php/ZAP"; description = "Java application for web penetration testing"; - maintainers = with maintainers; [ mog ]; + maintainers = with maintainers; [ mog rafael ]; platforms = platforms.linux; license = licenses.asl20; };