ansible_2_2/ansible_2_1: switch to overrideDerivation for jinja2

This commit is contained in:
Jörg Thalheim 2017-08-28 11:50:38 +01:00 committed by Frederik Rietdijk
parent c1dea51fa1
commit 8d015553d5
2 changed files with 3 additions and 3 deletions

View file

@ -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";

View file

@ -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}";