Commit f4925646 authored by wxt's avatar wxt
Browse files

lilipod: fix build

parent d92677ab
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -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 = ''