diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:08:31 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:08:31 +0100 |
commit | 3842c35a2d23ecc41d7c141baa8d5185f35f3e1e (patch) | |
tree | ce67bc90af7de69352cb31c7782fdc33cf1b0f41 /pkgs/tools | |
parent | 4f39a2db4dffa0f98cb243d67a62ad569505a7ef (diff) |
dd-agent: stay with python2
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/dd-agent/5.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/dd-agent/5.nix b/pkgs/tools/networking/dd-agent/5.nix index af4ae7ed7697..f40ef295d138 100644 --- a/pkgs/tools/networking/dd-agent/5.nix +++ b/pkgs/tools/networking/dd-agent/5.nix @@ -1,7 +1,7 @@ -{ lib, stdenv, fetchFromGitHub, python +{ lib, stdenv, fetchFromGitHub, python2 , unzip, makeWrapper }: let - python' = python.override { + python' = python2.override { packageOverrides = self: super: { docker = self.buildPythonPackage rec { name = "docker-${version}"; @@ -82,7 +82,7 @@ in stdenv.mkDerivation rec { cat > $out/bin/dd-jmxfetch <<EOF #!/usr/bin/env bash - exec ${python}/bin/python $out/agent/jmxfetch.py $@ + exec ${python'.interpreter} $out/agent/jmxfetch.py $@ EOF chmod a+x $out/bin/dd-jmxfetch |