lilipod: fix build
This commit is contained in:
parent
d92677ab17
commit
f492564639
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user