mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
commit
096776ff93
@ -3,17 +3,18 @@
|
|||||||
, buildGoModule
|
, buildGoModule
|
||||||
, go-md2man
|
, go-md2man
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
|
, bash
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "umoci";
|
pname = "umoci";
|
||||||
version = "0.4.6";
|
version = "0.4.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "opencontainers";
|
owner = "opencontainers";
|
||||||
repo = "umoci";
|
repo = "umoci";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0jaar26l940yh77cs31c3zndiycp85m3fz4zivcibzi68g6n6yzg";
|
sha256 = "0in8kyi4jprvbm3zsl3risbjj8b0ma62yl3rq8rcvcgypx0mn7d4";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
@ -25,7 +26,8 @@ buildGoModule rec {
|
|||||||
nativeBuildInputs = [ go-md2man installShellFiles ];
|
nativeBuildInputs = [ go-md2man installShellFiles ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i '/SHELL =/d' Makefile
|
substituteInPlace Makefile --replace \
|
||||||
|
'$(shell which bash)' '${lib.getBin bash}/bin/bash'
|
||||||
make docs
|
make docs
|
||||||
installManPage doc/man/*.[1-9]
|
installManPage doc/man/*.[1-9]
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user