diff options
author | Ioannis Koutras <ioannis.koutras@gmail.com> | 2018-10-13 12:44:54 +0300 |
---|---|---|
committer | Ioannis Koutras <ioannis.koutras@gmail.com> | 2018-10-22 13:07:15 +0300 |
commit | ab62fe910883dd6322dc75190cb86ea9a185ebd3 (patch) | |
tree | c5f6f2ff567dfec0219dd985731c3b2230ec771b | |
parent | 891277e6a9d659d4a270e3b36fc838098720f1de (diff) | |
download | nixlib-ab62fe910883dd6322dc75190cb86ea9a185ebd3.tar nixlib-ab62fe910883dd6322dc75190cb86ea9a185ebd3.tar.gz nixlib-ab62fe910883dd6322dc75190cb86ea9a185ebd3.tar.bz2 nixlib-ab62fe910883dd6322dc75190cb86ea9a185ebd3.tar.lz nixlib-ab62fe910883dd6322dc75190cb86ea9a185ebd3.tar.xz nixlib-ab62fe910883dd6322dc75190cb86ea9a185ebd3.tar.zst nixlib-ab62fe910883dd6322dc75190cb86ea9a185ebd3.zip |
lxd: 3.0.0 -> 3.0.2
-rw-r--r-- | pkgs/tools/admin/lxd/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/tools/admin/lxd/default.nix b/pkgs/tools/admin/lxd/default.nix index 2fbfff287cb9..09c29517af40 100644 --- a/pkgs/tools/admin/lxd/default.nix +++ b/pkgs/tools/admin/lxd/default.nix @@ -1,16 +1,17 @@ { stdenv, pkgconfig, lxc, buildGoPackage, fetchurl , makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq -, squashfsTools, iproute, iptables, ebtables +, squashfsTools, iproute, iptables, ebtables, libcap, dqlite +, sqlite-replication }: buildGoPackage rec { - name = "lxd-3.0.0"; + name = "lxd-3.0.2"; goPackagePath = "github.com/lxc/lxd"; src = fetchurl { url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz"; - sha256 = "0m5prdf9sk8k5bws1zva4n9ycggmy76wnjr6wb423066pszz24ww"; + sha256 = "1ha8ijzblf15p0kcpgwshswz6s2rdd2b4qnzjw3l72ww620hr84j"; }; preBuild = '' @@ -22,6 +23,8 @@ buildGoPackage rec { popd ''; + buildFlags = [ "-tags libsqlite3" ]; + postInstall = '' # binaries from test/ rm $bin/bin/{deps,macaroon-identity} @@ -32,7 +35,7 @@ buildGoPackage rec { ''; nativeBuildInputs = [ pkgconfig makeWrapper ]; - buildInputs = [ lxc acl ]; + buildInputs = [ lxc acl libcap dqlite sqlite-replication ]; meta = with stdenv.lib; { description = "Daemon based on liblxc offering a REST API to manage containers"; |