about summary refs log tree commit diff
path: root/web/static/default.nix (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-11-13 r/3054 fix(web/static): avoid drvHash unnecessarily inflating closuressterni1-1/+6
The string context of drvPath apparently causes a derivation to _directly_ reference the whole dependency closure of the derivation drvPath belongs to. This not only is unnecessary in this case (since we are using drvHash to construct HTTP URLs which are primarily contigent on the deployed configuration and not the shape of the nix store), but also creates a very confusing derivation (e. g. web.tvl's index.html would *directly* reference pandoc). Change-Id: I6e9900e9e35fbd639061e53322e4ccb3fbb7e7ec Reviewed-on: https://cl.tvl.fyi/c/depot/+/3862 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-01 r/2944 feat(web/static): Add TVL logo to static filesVincent Ambo1-2/+7
Change-Id: Ie5ee4fe9d137cde9502ded1558fae3ad685b8863 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3661 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-10-01 r/2943 feat(web/static): Expose drvHash attribute on derivationVincent Ambo1-4/+10
This can be used for easy cachebusting of static assets, so that we can serve them all with a really long cache-time easily. Change-Id: I7c9f6beddec58e1caf02cda33bc587590217a939 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3660 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-08-26 r/2788 chore(web/tvl): Move TVL static assets out of //users/tazjinVincent Ambo1-0/+6
It's now more like my personal homepage depends on TVL assets, not the other way around. Change-Id: Ifb9d61aa8ec2cab549e25de3a3dfbbd08f3d336c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3435 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>