home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1e4363fdbaaa13f52eb63d38e13cf286c9cde702
parent 0ecfe2d67b7d1ba5087e9f08113eab80d08b0aeb
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 25 May 2020 15:16:41 +0200

pkgs: fix containerd and add 1_4 (beta)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mpkgs/containerd/default.nix | 15++++++++++++---
Mpkgs/default.nix | 1+
2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/pkgs/containerd/default.nix b/pkgs/containerd/default.nix @@ -15,7 +15,11 @@ rec { }; goPackagePath = "github.com/containerd/containerd"; - outputs = [ "bin" "out" "man" ]; + + # FIXME: remove this + allowGoReference = true; + + outputs = [ "out" "man" ]; nativeBuildInputs = [ go-md2man utillinux pkgconfig ]; @@ -29,12 +33,12 @@ rec { buildPhase = '' cd go/src/${goPackagePath} patchShebangs . - make binaries + make binaries $buildFlags ''; installPhase = '' for b in bin/*; do - install -Dm555 $b $bin/$b + install -Dm555 $b $out/$b done make man @@ -66,4 +70,9 @@ rec { version = "1.3.4"; sha256 = "0gws6v35sw4xl0rj4wb07sqkw8f5h3zhliv0rrliipbx9mb23yyw"; }; + + containerd_1_4 = makeOverridable containerdGen { + version = "1.4.0-beta.0"; + sha256 = "1mrkqkl0ywgq2g5f2j64mp2kazfgbwi37p3dp1fk6xa8ypfqjbl0"; + }; } diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -72,6 +72,7 @@ rec { inherit (pkgs.callPackage ./containerd { }) containerd_1_2 containerd_1_3 + containerd_1_4 ; containerd = containerd_1_3; }