lilipod: fix build

This commit is contained in:
wxt 2024-10-07 16:14:09 +08:00
parent d92677ab17
commit f492564639

View File

@ -4,6 +4,8 @@
fetchFromGitHub,
installShellFiles,
stdenv,
shadow,
util-linux,
}:
buildGoModule rec {
@ -19,8 +21,6 @@ buildGoModule rec {
vendorHash = null;
nativeBuildInputs = [ installShellFiles ];
buildPhase = ''
runHook preBuild
@ -45,13 +45,6 @@ buildGoModule rec {
runHook postInstall
'';
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd lilipod \
--bash <($out/bin/lilipod completion bash) \
--fish <($out/bin/lilipod completion fish) \
--zsh <($out/bin/lilipod completion zsh)
'';
meta = {
description = "Very simple (as in few features) container and image manager";
longDescription = ''