lxd: refactor

removes libco dependencie from lxd, it's neither used nor maintained
anymore by canonical
This commit is contained in:
wucke13 2021-05-15 19:13:37 +02:00
parent 06730f57cb
commit 6de508be51

View File

@ -1,7 +1,7 @@
{ lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq
, squashfsTools, iproute2, iptables, ebtables, iptables-nftables-compat, libcap
, libco-canonical, dqlite, raft-canonical, sqlite-replication, udev
, dqlite, raft-canonical, sqlite-replication, udev
, writeShellScriptBin, apparmor-profiles, apparmor-parser
, criu
, bash
@ -38,9 +38,9 @@ buildGoPackage rec {
rm _dist/src/github.com/lxc/lxd
cp -r _dist/src/* ../../..
popd
'';
buildFlags = [ "-tags libsqlite3" ];
makeFlagsArray+=("-tags libsqlite3")
'';
postInstall = ''
# test binaries, code generation
@ -59,8 +59,8 @@ buildGoPackage rec {
'';
nativeBuildInputs = [ installShellFiles pkg-config makeWrapper ];
buildInputs = [ lxc acl libcap libco-canonical.dev dqlite.dev
raft-canonical.dev sqlite-replication udev.dev ];
buildInputs = [ lxc acl libcap dqlite.dev raft-canonical.dev
sqlite-replication udev.dev ];
meta = with lib; {
description = "Daemon based on liblxc offering a REST API to manage containers";