lxd: refactor
removes libco dependencie from lxd, it's neither used nor maintained anymore by canonical
This commit is contained in:
parent
06730f57cb
commit
6de508be51
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl
|
{ lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl
|
||||||
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq
|
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq
|
||||||
, squashfsTools, iproute2, iptables, ebtables, iptables-nftables-compat, libcap
|
, 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
|
, writeShellScriptBin, apparmor-profiles, apparmor-parser
|
||||||
, criu
|
, criu
|
||||||
, bash
|
, bash
|
||||||
|
@ -38,9 +38,9 @@ buildGoPackage rec {
|
||||||
rm _dist/src/github.com/lxc/lxd
|
rm _dist/src/github.com/lxc/lxd
|
||||||
cp -r _dist/src/* ../../..
|
cp -r _dist/src/* ../../..
|
||||||
popd
|
popd
|
||||||
'';
|
|
||||||
|
|
||||||
buildFlags = [ "-tags libsqlite3" ];
|
makeFlagsArray+=("-tags libsqlite3")
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# test binaries, code generation
|
# test binaries, code generation
|
||||||
|
@ -59,8 +59,8 @@ buildGoPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles pkg-config makeWrapper ];
|
nativeBuildInputs = [ installShellFiles pkg-config makeWrapper ];
|
||||||
buildInputs = [ lxc acl libcap libco-canonical.dev dqlite.dev
|
buildInputs = [ lxc acl libcap dqlite.dev raft-canonical.dev
|
||||||
raft-canonical.dev sqlite-replication udev.dev ];
|
sqlite-replication udev.dev ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Daemon based on liblxc offering a REST API to manage containers";
|
description = "Daemon based on liblxc offering a REST API to manage containers";
|
||||||
|
|
Loading…
Reference in a new issue