dd-agent: stay with python2

+3 -3
+3 -3
pkgs/tools/networking/dd-agent/5.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python 2 , unzip, makeWrapper }: 3 let 4 - python' = python.override { 5 packageOverrides = self: super: { 6 docker = self.buildPythonPackage rec { 7 name = "docker-${version}"; ··· 82 83 cat > $out/bin/dd-jmxfetch <<EOF 84 #!/usr/bin/env bash 85 - exec ${python}/bin/python $out/agent/jmxfetch.py $@ 86 EOF 87 chmod a+x $out/bin/dd-jmxfetch 88
··· 1 + { lib, stdenv, fetchFromGitHub, python2 2 , unzip, makeWrapper }: 3 let 4 + python' = python2.override { 5 packageOverrides = self: super: { 6 docker = self.buildPythonPackage rec { 7 name = "docker-${version}"; ··· 82 83 cat > $out/bin/dd-jmxfetch <<EOF 84 #!/usr/bin/env bash 85 + exec ${python'.interpreter} $out/agent/jmxfetch.py $@ 86 EOF 87 chmod a+x $out/bin/dd-jmxfetch 88