Merge pull request #53611 from r-ryantm/auto-update/lxc
lxc: 3.0.3 -> 3.1.0
This commit is contained in:
commit
b2d9782d23
|
@ -9,11 +9,11 @@
|
|||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lxc-${version}";
|
||||
version = "3.0.3";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://linuxcontainers.org/downloads/lxc/lxc-${version}.tar.gz";
|
||||
sha256 = "0hcql4srcs2dlf2f67i8v92y2i352zv7nr9hsgs3pih2rhrbh332";
|
||||
sha256 = "1igxqgx8q9cp15mcp1y8j564bl85ijw04jcmgb1s5bmfbg1751sd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "lxd-3.0.2";
|
||||
name = "lxd-3.10";
|
||||
|
||||
goPackagePath = "github.com/lxc/lxd";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz";
|
||||
sha256 = "1ha8ijzblf15p0kcpgwshswz6s2rdd2b4qnzjw3l72ww620hr84j";
|
||||
sha256 = "0vd0p3xf54s7f9vcjfiin29py6hxyyxnisvp6am67l5nwhg7rnnc";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
|
@ -28,8 +28,8 @@ buildGoPackage rec {
|
|||
buildFlags = [ "-tags libsqlite3" ];
|
||||
|
||||
postInstall = ''
|
||||
# binaries from test/
|
||||
rm $bin/bin/{deps,macaroon-identity}
|
||||
# test binaries, code generation
|
||||
rm $bin/bin/{deps,macaroon-identity,generate}
|
||||
|
||||
wrapProgram $bin/bin/lxd --prefix PATH : ${stdenv.lib.makeBinPath [
|
||||
acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables bash
|
||||
|
|
Loading…
Reference in a new issue