mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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,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";
|
||||
|
Loading…
Reference in New Issue
Block a user