commit
44d99e90e9
2 changed files with 3 additions and 7 deletions
|
@ -47,7 +47,7 @@ in
|
|||
# TODO(wkennington): Add lvm2 and thin-provisioning-tools
|
||||
path = with pkgs; [ acl rsync gnutar xz btrfs-progs ];
|
||||
|
||||
serviceConfig.ExecStart = "@${pkgs.lxd}/bin/lxd lxd --syslog --group lxd";
|
||||
serviceConfig.ExecStart = "@${pkgs.lxd.bin}/bin/lxd lxd --syslog --group lxd";
|
||||
serviceConfig.Type = "simple";
|
||||
serviceConfig.KillMode = "process"; # when stopping, leave the containers alone
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
buildGoPackage rec {
|
||||
name = "lxd-${version}";
|
||||
version = "2.0.0.rc4";
|
||||
version = "2.0.2";
|
||||
rev = "lxd-${version}";
|
||||
|
||||
goPackagePath = "github.com/lxc/lxd";
|
||||
|
@ -11,7 +11,7 @@ buildGoPackage rec {
|
|||
inherit rev;
|
||||
owner = "lxc";
|
||||
repo = "lxd";
|
||||
sha256 = "1rpyyj6d38d9kmb47dcmy1x41fiacj384yx01yslsrj2l6qxcdjn";
|
||||
sha256 = "1rs9g1snjymg6pjz5bj77zk5wbs0w8xmrfxzqs32w6zr1dxhf9hs";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
|
@ -19,10 +19,6 @@ buildGoPackage rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ lxc ];
|
||||
|
||||
postInstall = ''
|
||||
cp go/src/$goPackagePath/scripts/lxd-images $bin/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Daemon based on liblxc offering a REST API to manage containers";
|
||||
homepage = https://github.com/lxc/lxd;
|
||||
|
|
Loading…
Reference in a new issue