Merge pull request #192711 from NickCao/umoci-cross

umoci: fix cross compilation
This commit is contained in:
Christian Kögler
2022-10-01 10:48:48 +02:00
committed by GitHub
@@ -26,9 +26,7 @@ buildGoModule rec {
nativeBuildInputs = [ go-md2man installShellFiles ];
postInstall = ''
substituteInPlace Makefile --replace \
'$(shell which bash)' '${lib.getBin bash}/bin/bash'
make docs
make docs SHELL="$SHELL"
installManPage doc/man/*.[1-9]
'';