From b041bff2dcfc8ca1983f4a69d5b18220f672413c Mon Sep 17 00:00:00 2001 From: David Izquierdo Date: Thu, 13 Aug 2020 16:09:48 +0200 Subject: targetcli: build with python3 Mostly to reduce dependency on py2, and on pythonPackages.urwid, which fails to build with py2. --- pkgs/os-specific/linux/targetcli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/os-specific/linux/targetcli') diff --git a/pkgs/os-specific/linux/targetcli/default.nix b/pkgs/os-specific/linux/targetcli/default.nix index 854e06b98a4..94920c4012a 100644 --- a/pkgs/os-specific/linux/targetcli/default.nix +++ b/pkgs/os-specific/linux/targetcli/default.nix @@ -1,6 +1,6 @@ -{ stdenv, python, fetchFromGitHub }: +{ stdenv, python3, fetchFromGitHub }: -python.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "targetcli"; version = "2.1.53"; @@ -11,7 +11,7 @@ python.pkgs.buildPythonApplication rec { sha256 = "1qrq7y5hnghzbxgrxgl153n8jlhw31kqjbr93jsvlvhz5b3ci750"; }; - propagatedBuildInputs = with python.pkgs; [ configshell rtslib ]; + propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ]; postInstall = '' install -D targetcli.8 -t $out/share/man/man8/ -- cgit 1.4.1