Unverified Commit 6876b118 authored by Viena's avatar Viena
Browse files

bootdev-cli: fix build

parent 2d69362f
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -33,10 +33,9 @@ buildGoModule (finalAttrs: {
  ];

  postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
    installShellCompletion --cmd bootdev \
      --bash <($out/bin/bootdev completion bash) \
      --zsh <($out/bin/bootdev completion zsh) \
      --fish <($out/bin/bootdev completion fish)
    for shell in bash fish zsh; do
      installShellCompletion --cmd bootdev --"$shell" <($out/bin/bootdev completion "$shell")
    done
  '';

  nativeInstallCheckInputs = [ versionCheckHook ];