commit
096776ff93
|
@ -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]
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue