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