containerd: migrate to using buildGoPackage

… and add man pages, which means `containerd` becomes a multi-output
derivation : `containerd.bin` and `containerd.man`.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2018-12-20 14:25:24 +01:00
parent 25eb8419d9
commit 17ddcccb56
2 changed files with 22 additions and 22 deletions

View File

@@ -28,7 +28,7 @@ rec {
patches = [];
});
docker-containerd = (containerd.override { inherit go; }).overrideAttrs (oldAttrs: rec {
docker-containerd = containerd.overrideAttrs (oldAttrs: rec {
name = "docker-containerd-${version}";
inherit version;
src = fetchFromGitHub {
@@ -39,8 +39,6 @@ rec {
};
hardeningDisable = [ "fortify" ];
buildInputs = [ removeReferencesTo go btrfs-progs ];
});
docker-tini = tini.overrideAttrs (oldAttrs: rec {