ansible: Use overridePythonAttrs to get the right name attribute (#83107)

Fixes #83105.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2020-03-22 00:09:42 -07:00 committed by GitHub
parent b94300945a
commit 1134b0bc6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ rec {
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
ansible_2_8 = with python3Packages; toPythonApplication (python3Packages.ansible.overrideAttrs(old: rec {
ansible_2_8 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
pname = "ansible";
version = "2.8.7";
@ -15,7 +15,7 @@ rec {
};
}));
ansible_2_7 = with python3Packages; toPythonApplication (ansible.overrideAttrs(old: rec {
ansible_2_7 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
pname = "ansible";
version = "2.7.15";
@ -25,7 +25,7 @@ rec {
};
}));
ansible_2_6 = with python3Packages; toPythonApplication (ansible.overrideAttrs(old: rec {
ansible_2_6 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
pname = "ansible";
version = "2.6.20";