lxd: 3.0.2 -> 3.10
This commit is contained in:
parent
1db3185eea
commit
56b1b0ada6
@ -6,13 +6,13 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "lxd-3.0.2";
|
name = "lxd-3.10";
|
||||||
|
|
||||||
goPackagePath = "github.com/lxc/lxd";
|
goPackagePath = "github.com/lxc/lxd";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz";
|
url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz";
|
||||||
sha256 = "1ha8ijzblf15p0kcpgwshswz6s2rdd2b4qnzjw3l72ww620hr84j";
|
sha256 = "0vd0p3xf54s7f9vcjfiin29py6hxyyxnisvp6am67l5nwhg7rnnc";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
@ -27,8 +27,8 @@ buildGoPackage rec {
|
|||||||
buildFlags = [ "-tags libsqlite3" ];
|
buildFlags = [ "-tags libsqlite3" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# binaries from test/
|
# test binaries, code generation
|
||||||
rm $bin/bin/{deps,macaroon-identity}
|
rm $bin/bin/{deps,macaroon-identity,generate}
|
||||||
|
|
||||||
wrapProgram $bin/bin/lxd --prefix PATH ":" ${stdenv.lib.makeBinPath [
|
wrapProgram $bin/bin/lxd --prefix PATH ":" ${stdenv.lib.makeBinPath [
|
||||||
acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables
|
acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables
|
||||||
|
Loading…
Reference in New Issue
Block a user