From 0b488f49fdc2971336395e8c5f8681adcf0837b9 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 3 Jun 2018 11:24:14 +0200 Subject: [PATCH] varnish: use python2 --- pkgs/servers/varnish/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/varnish/default.nix b/pkgs/servers/varnish/default.nix index 68660ce6b36..ff1acad9094 100644 --- a/pkgs/servers/varnish/default.nix +++ b/pkgs/servers/varnish/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pcre, libxslt, groff, ncurses, pkgconfig, readline, libedit -, python, pythonPackages, makeWrapper }: +, python2, makeWrapper }: let common = { version, sha256 }: @@ -13,8 +13,8 @@ let nativeBuildInputs = [ pkgconfig ]; buildInputs = [ - pcre libxslt groff ncurses readline python libedit - pythonPackages.docutils makeWrapper + pcre libxslt groff ncurses readline python2 libedit + python2.pkgs.docutils makeWrapper ]; buildFlags = "localstatedir=/var/spool";