summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authoremilylange <git@emilylange.de>2025-08-10 20:48:17 +0200
committeremilylange <git@emilylange.de>2025-08-10 20:57:34 +0200
commit0387f7cba4d9d2cc1993cc79b1da5750403d555c (patch)
tree506caf288a302f3140db7089cfe5a22f63a9325c /pkgs/development/python-modules/rangehttpserver
parent733428167d00568cd8f98731c26e5dcba4df23cf (diff)
matrix-authentication-service: fix `http_listener_assets_path_default()`
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
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions