mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
ansible_2_2/ansible_2_1: switch to overrideDerivation for jinja2
This commit is contained in:
parent
c1dea51fa1
commit
8d015553d5
2 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue