Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dqlite: 0.2.6 -> 1.0.0 #67955

Open
wants to merge 5 commits into
base: master
from
Open
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

lxd: 3.13 -> 3.17

  • Loading branch information...
adisbladis committed Sep 2, 2019
commit 6be7853edb2c12d2a50b4d7db1b4f0b210bda51f
@@ -5,25 +5,27 @@
, writeShellScriptBin, apparmor-profiles, apparmor-parser
, criu
, bash
, raft
, libco
}:

buildGoPackage rec {
pname = "lxd";
version = "3.13";
version = "3.17";

goPackagePath = "github.com/lxc/lxd";

src = fetchurl {
url = "https://github.com/lxc/lxd/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "1kasnzd8hw9biyx8avbjmpfax1pdbp9g543g8hs6xpksmk93hl82";
sha256 = "1vr9ywg29nasfqrgszl11044dwmx15d8wlg4iyp5h7xri6sar14l";
};

preBuild = ''
# unpack vendor
pushd go/src/github.com/lxc/lxd
rm dist/src/github.com/lxc/lxd
cp -r dist/src/* ../../..
rm -r dist
rm _dist/src/github.com/lxc/lxd
cp -r _dist/src/* ../../..
rm -r _dist
popd
'';

@@ -45,7 +47,7 @@ buildGoPackage rec {
'';

nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ lxc acl libcap dqlite sqlite-replication ];
buildInputs = [ lxc acl libcap dqlite sqlite-replication raft libco ];

meta = with stdenv.lib; {
description = "Daemon based on liblxc offering a REST API to manage containers";
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.