|
|
|
@ -19,13 +19,13 @@ let |
|
|
|
|
in |
|
|
|
|
buildGoPackage rec { |
|
|
|
|
pname = "lxd"; |
|
|
|
|
version = "4.15"; |
|
|
|
|
version = "4.16"; |
|
|
|
|
|
|
|
|
|
goPackagePath = "github.com/lxc/lxd"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"; |
|
|
|
|
sha256 = "sha256-UXipGNWclBKgr0r0wav85Gnhp2SXkTvDFr9gKJWismU="; |
|
|
|
|
sha256 = "1da9avmxs8sy92d9nrdgry2x685ral58zgf89yr88qxc0llbzq7r"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
postPatch = '' |
|
|
|
@ -40,6 +40,9 @@ buildGoPackage rec { |
|
|
|
|
cp -r _dist/src/* ../../.. |
|
|
|
|
popd |
|
|
|
|
|
|
|
|
|
# required for go-dqlite. See: https://github.com/lxc/lxd/pull/8939 |
|
|
|
|
export CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)" |
|
|
|
|
|
|
|
|
|
makeFlagsArray+=("-tags libsqlite3") |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|