Unverified Commit 0bb634c7 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

lilipod: fix build (#347046)

parents 881467b5 f4925646
Loading
Loading
Loading
Loading
+8 −14
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
, installShellFiles
, stdenv
{
  lib,
  buildGoModule,
  fetchFromGitHub,
  installShellFiles,
  stdenv,
  shadow,
  util-linux,
}:

buildGoModule rec {
@@ -18,8 +21,6 @@ buildGoModule rec {

  vendorHash = null;

  nativeBuildInputs = [ installShellFiles ];

  buildPhase = ''
    runHook preBuild

@@ -44,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 = ''