mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
commit
3a5066d0a2
1 changed files with 5 additions and 4 deletions
|
@ -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 a new issue