Merge pull request #118698 from mweinelt/umoci

umoci: 0.4.6 -> 0.4.7
This commit is contained in:
Sandro 2021-04-07 10:13:15 +02:00 committed by GitHub
commit 096776ff93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,17 +3,18 @@
, buildGoModule
, go-md2man
, installShellFiles
, bash
}:
buildGoModule rec {
pname = "umoci";
version = "0.4.6";
version = "0.4.7";
src = fetchFromGitHub {
owner = "opencontainers";
repo = "umoci";
rev = "v${version}";
sha256 = "0jaar26l940yh77cs31c3zndiycp85m3fz4zivcibzi68g6n6yzg";
sha256 = "0in8kyi4jprvbm3zsl3risbjj8b0ma62yl3rq8rcvcgypx0mn7d4";
};
vendorSha256 = null;
@ -25,7 +26,8 @@ buildGoModule rec {
nativeBuildInputs = [ go-md2man installShellFiles ];
postInstall = ''
sed -i '/SHELL =/d' Makefile
substituteInPlace Makefile --replace \
'$(shell which bash)' '${lib.getBin bash}/bin/bash'
make docs
installManPage doc/man/*.[1-9]
'';