diff options
author | David Izquierdo <david@izquierdofernandez.com> | 2020-08-13 16:09:48 +0200 |
---|---|---|
committer | David Izquierdo <david@izquierdofernandez.com> | 2020-08-13 16:09:48 +0200 |
commit | b041bff2dcfc8ca1983f4a69d5b18220f672413c (patch) | |
tree | 58a637264b0a59823a4bcd77940d6eadde97dfd3 | |
parent | 7e2d70f449ef94ea4b94620de06a5edfade82073 (diff) | |
download | nixpkgs-b041bff2dcfc8ca1983f4a69d5b18220f672413c.tar nixpkgs-b041bff2dcfc8ca1983f4a69d5b18220f672413c.tar.gz nixpkgs-b041bff2dcfc8ca1983f4a69d5b18220f672413c.tar.bz2 nixpkgs-b041bff2dcfc8ca1983f4a69d5b18220f672413c.tar.lz nixpkgs-b041bff2dcfc8ca1983f4a69d5b18220f672413c.tar.xz nixpkgs-b041bff2dcfc8ca1983f4a69d5b18220f672413c.tar.zst nixpkgs-b041bff2dcfc8ca1983f4a69d5b18220f672413c.zip |
targetcli: build with python3
Mostly to reduce dependency on py2, and on pythonPackages.urwid, which fails to build with py2.
-rw-r--r-- | pkgs/os-specific/linux/targetcli/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
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/ |