umoci: fix cross compilation

This commit is contained in:
Nick Cao 2022-09-24 14:45:45 +08:00
parent 78fa74ccd1
commit 20c9179059
No known key found for this signature in database

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