diff --git a/pkgs/development/python-modules/python-jsonpath/default.nix b/pkgs/development/python-modules/python-jsonpath/default.nix index af58dc59b57a..fbc94587688a 100644 --- a/pkgs/development/python-modules/python-jsonpath/default.nix +++ b/pkgs/development/python-modules/python-jsonpath/default.nix @@ -17,6 +17,13 @@ buildPythonPackage rec { repo = "python-jsonpath"; tag = "v${version}"; fetchSubmodules = true; + preFetch = '' + # can't clone using ssh + # https://github.com/jg-rp/python-jsonpath/pull/122 + export GIT_CONFIG_COUNT=1 + export GIT_CONFIG_KEY_0=url.https://github.com/.insteadOf + export GIT_CONFIG_VALUE_0=git@github.com: + ''; hash = "sha256-DiXBIo/I36rrn+RCQda+khfViCnzHwiGzK2X9ACF3io="; };