migrate to build against nixos-unstable

This commit is contained in:
Trolli Schmittlauch 2019-12-30 01:46:04 +01:00
parent b3d869e847
commit 62a1cd9cf5
2 changed files with 29 additions and 17 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub,
autoconf, automake, autoreconfHook, pkgconfig, curl, libevent, glib, libuuid, intltool, sqlite, withMysql ? true, libmysql, libarchive, libtool, jansson, vala, fuse, openssl, libevhtp, libsearpc, which,
autoconf, automake, autoreconfHook, pkgconfig, curl, libevent, glib, libuuid, intltool, sqlite, withMysql ? true, libmysqlclient, libarchive, libtool, jansson, vala, fuse, openssl, libevhtp, libsearpc, which,
# for SeaHub
python3, python3Packages }:
@ -94,7 +94,7 @@
inherit version;
buildInputs = [ seahub seafile-server-core ccnet-server libsearpc ]
++ lib.optional withMysql libmysql;
++ lib.optional withMysql libmysqlclient;
phases = [ "installPhase" "fixupPhase" "distPhase" ];
# todo: create data directory in /srv in activation script
installPhase = ''