buildah: cleanup, restrict to linux
This commit is contained in:
parent
90c0191735
commit
f92387242e
@ -25,7 +25,6 @@ buildGoPackage rec {
|
|||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
goPackagePath = "github.com/containers/buildah";
|
goPackagePath = "github.com/containers/buildah";
|
||||||
excludedPackages = [ "tests" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||||
buildInputs = [ gpgme libgpgerror lvm2 btrfs-progs libselinux libseccomp ];
|
buildInputs = [ gpgme libgpgerror lvm2 btrfs-progs libselinux libseccomp ];
|
||||||
@ -35,11 +34,12 @@ buildGoPackage rec {
|
|||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
pushd go/src/${goPackagePath}
|
pushd go/src/${goPackagePath}
|
||||||
make GIT_COMMIT="unknown"
|
make GIT_COMMIT="unknown"
|
||||||
install -Dm755 buildah $out/bin/buildah
|
make -C docs
|
||||||
installShellCompletion --bash contrib/completions/bash/buildah
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postBuild = ''
|
installPhase = ''
|
||||||
|
install -Dm755 buildah $out/bin/buildah
|
||||||
|
installShellCompletion --bash contrib/completions/bash/buildah
|
||||||
make -C docs install PREFIX="$man"
|
make -C docs install PREFIX="$man"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -49,5 +49,6 @@ buildGoPackage rec {
|
|||||||
changelog = "https://github.com/containers/buildah/releases/tag/v${version}";
|
changelog = "https://github.com/containers/buildah/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ Profpatsch ] ++ teams.podman.members;
|
maintainers = with maintainers; [ Profpatsch ] ++ teams.podman.members;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user