Unverified Commit 1a7179e1 authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

aerc: improve filters' wrapping (#456559)

parents 826a4710 3018c0f8
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  dante,
  gawk,
  versionCheckHook,
  bashNonInteractive,
  nix-update-script,
}:

@@ -52,6 +53,7 @@ buildGoModule (finalAttrs: {
  buildInputs = [
    python3Packages.python
    gawk
    bashNonInteractive
  ]
  ++ lib.optional withNotmuch notmuch;

@@ -73,14 +75,6 @@ buildGoModule (finalAttrs: {
          dante
        ]
      }
    wrapProgram $out/libexec/aerc/filters/html-unsafe \
      --prefix PATH : ${
        lib.makeBinPath [
          w3m
          dante
        ]
      }
    patchShebangs $out/libexec/aerc/filters
  '';

  nativeInstallCheckInputs = [ versionCheckHook ];