summary refs log tree commit diff
path: root/pkgs/tools/backup/bareos
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-11-09 11:11:09 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2016-11-24 22:28:02 +0100
commit90d0bde89ad1f3337bf4d93d4757e45774ed5795 (patch)
tree6226062211117d0cfe248c9c79ac951f774f2c37 /pkgs/tools/backup/bareos
parentfcfe7cf955375311199ce615673de0768abf66ab (diff)
downloadnixpkgs-90d0bde89ad1f3337bf4d93d4757e45774ed5795.tar
nixpkgs-90d0bde89ad1f3337bf4d93d4757e45774ed5795.tar.gz
nixpkgs-90d0bde89ad1f3337bf4d93d4757e45774ed5795.tar.bz2
nixpkgs-90d0bde89ad1f3337bf4d93d4757e45774ed5795.tar.lz
nixpkgs-90d0bde89ad1f3337bf4d93d4757e45774ed5795.tar.xz
nixpkgs-90d0bde89ad1f3337bf4d93d4757e45774ed5795.tar.zst
nixpkgs-90d0bde89ad1f3337bf4d93d4757e45774ed5795.zip
bareos: use python2
Diffstat (limited to 'pkgs/tools/backup/bareos')
-rw-r--r--pkgs/tools/backup/bareos/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/backup/bareos/default.nix b/pkgs/tools/backup/bareos/default.nix
index ffa119b3c53..c3256713832 100644
--- a/pkgs/tools/backup/bareos/default.nix
+++ b/pkgs/tools/backup/bareos/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool, flex
-, readline ? null, openssl ? null, python ? null, ncurses ? null, rocksdb
+, readline ? null, openssl ? null, python2 ? null, ncurses ? null, rocksdb
 , sqlite ? null, postgresql ? null, libmysql ? null, zlib ? null, lzo ? null
 , jansson ? null, acl ? null, glusterfs ? null, libceph ? null, libcap ? null
 }:
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [
-    nettools gettext readline openssl python flex ncurses sqlite postgresql
+    nettools gettext readline openssl python2 flex ncurses sqlite postgresql
     libmysql zlib lzo jansson acl glusterfs libceph libcap rocksdb
   ];
 
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
     "--enable-sql-pooling"
     "--enable-scsi-crypto"
   ] ++ optionals (readline != null) [ "--disable-conio" "--enable-readline" "--with-readline=${readline.dev}" ]
-    ++ optional (python != null) "--with-python=${python}"
+    ++ optional (python2 != null) "--with-python=${python2}"
     ++ optional (openssl != null) "--with-openssl=${openssl.dev}"
     ++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}"
     ++ optional (postgresql != null) "--with-postgresql=${postgresql}"