Commit cab3383a authored by florianvazelle's avatar florianvazelle
Browse files

gum: fix cross build

parent 7ad7702f
Loading
Loading
Loading
Loading
+8 −11
Original line number Diff line number Diff line
@@ -29,12 +29,9 @@ buildGoModule rec {
    "-X=main.Version=${version}"
  ];

  postInstall =
    ''
  postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
    $out/bin/gum man > gum.1
    installManPage gum.1
    ''
    + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
    installShellCompletion --cmd gum \
      --bash <($out/bin/gum completion bash) \
      --fish <($out/bin/gum completion fish) \