diff --git a/pkgs/tools/admin/ansible/2.1.nix b/pkgs/tools/admin/ansible/2.1.nix index 5a20b525607..d8400b66928 100644 --- a/pkgs/tools/admin/ansible/2.1.nix +++ b/pkgs/tools/admin/ansible/2.1.nix @@ -7,7 +7,7 @@ with pythonPackages; let - jinja = jinja2.override rec { + jinja = jinja2.overrideDerivation (old: rec { pname = "Jinja2"; version = "2.8.1"; name = "${pname}-${version}"; @@ -15,7 +15,7 @@ let url = "mirror://pypi/J/Jinja2/${name}.tar.gz"; sha256 = "35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891"; }; - }; + }); in buildPythonPackage rec { pname = "ansible"; diff --git a/pkgs/tools/admin/ansible/2.2.nix b/pkgs/tools/admin/ansible/2.2.nix index 528dbf0e97b..3da3802e40f 100644 --- a/pkgs/tools/admin/ansible/2.2.nix +++ b/pkgs/tools/admin/ansible/2.2.nix @@ -9,7 +9,7 @@ with pythonPackages; let # Shouldn't be needed anymore in next version # https://github.com/NixOS/nixpkgs/pull/22345#commitcomment-20718521 - jinja = (jinja2.override rec { + jinja = jinja2.overrideDerivation (old: rec { pname = "Jinja2"; version = "2.8.1"; name = "${pname}-${version}";