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
commit ea603b9373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]
'';