Aerc @SHAREDIR@/filters/html: No such file or directory

Hello

I don’t understand how to install aerc properly I think. I am not doing anything in particular:

  environment.systemPackages = with pkgs; [
    aerc
  ];

But when I try to open an email with html as format this is what I get:

sh: line 1: @SHAREDIR@/filters/html: No such file or directory

The filters directory is part of the aerc project ~rjarry/aerc (master): filters/ - sourcehut git

Looks like a packaging bug. A template isn’t getting replaced with the real value during postPatch. File a nixpkgs bug report.

1 Like

Ok great! Thanks a lot!

I had issues with filters, but it was a different problem.

That’s since been mitigated with aerc: substitute awk in filters by emmanuelrosa · Pull Request #204322 · NixOS/nixpkgs · GitHub, but that’s on Nixpkgs unstable.

1 Like

I think moving to unstable worked out!
Thanks