about summary refs log tree commit diff
path: root/pkgs/servers/sabnzbd
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-10-18 17:38:06 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-10-18 23:16:08 +0200
commit216a906ed103b66f91b64a824041937f3ecb3f1c (patch)
tree9d7245a63e84edb5e9b51be8bbffeeb3c02f41fe /pkgs/servers/sabnzbd
parent43949f4e0a92bd18cf95b5ec2eb414cb293d49f3 (diff)
downloadnixlib-216a906ed103b66f91b64a824041937f3ecb3f1c.tar
nixlib-216a906ed103b66f91b64a824041937f3ecb3f1c.tar.gz
nixlib-216a906ed103b66f91b64a824041937f3ecb3f1c.tar.bz2
nixlib-216a906ed103b66f91b64a824041937f3ecb3f1c.tar.lz
nixlib-216a906ed103b66f91b64a824041937f3ecb3f1c.tar.xz
nixlib-216a906ed103b66f91b64a824041937f3ecb3f1c.tar.zst
nixlib-216a906ed103b66f91b64a824041937f3ecb3f1c.zip
sabnzbd: use python2
because dependency cheetah is python2 only.
Diffstat (limited to 'pkgs/servers/sabnzbd')
-rw-r--r--pkgs/servers/sabnzbd/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/sabnzbd/default.nix b/pkgs/servers/sabnzbd/default.nix
index a47fc82f2f70..d41e1bce7f58 100644
--- a/pkgs/servers/sabnzbd/default.nix
+++ b/pkgs/servers/sabnzbd/default.nix
@@ -1,7 +1,7 @@
-{stdenv, fetchurl, python, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
+{stdenv, fetchurl, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
 
 let
-  pythonEnv = python.withPackages(ps: with ps; [ pyopenssl cheetah]);
+  pythonEnv = python2.withPackages(ps: with ps; [ pyopenssl cheetah]);
   path = stdenv.lib.makeBinPath [ par2cmdline unrar unzip p7zip ];
 in stdenv.mkDerivation rec {
   version = "1.1.0";