to point to `$out/share/$pname/assets/` instead of `./share/assets/`.
This allows one to omit `path =` in
~~~nix
{
http.listeners = [{
resources = [{
name = "assets";
path = "${pkgs.matrix-authentication-service}/share/matrix-authentication-service/assets";
}];
}];
}
~~~
so it looks like
~~~nix
{
http.listeners = [{
resources = [
{ name = "assets"; }
];
}];
}
~~~
The cause for this was probably just a typo, as we replaced the string
in `#[cfg(not(any(feature = "docker", feature = "dist")))]` despite
building with `#[cfg(feature = "dist")]`.
See https://github.com/element-hq/matrix-authentication-service/blob/v0.20.0/crates/config/src/sections/http.rs#L39-L52