dd-agent: stay with python2

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