about summary refs log tree commit diff
path: root/tools/depot-nixpkgs-update.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-11-13T12·43+0100
committersterni <sternenseemann@systemli.org>2021-11-13T13·27+0000
commit53ab5716aac5e2a0d40c4c412e6105730942940f (patch)
treeefb6730ff27241da104699608893d8583dcd2acc /tools/depot-nixpkgs-update.nix
parente2fbc10ebdb5d85813fd15c5dd371ee8e1e87a22 (diff)
fix(web/static): avoid drvHash unnecessarily inflating closures r/3054
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>
Diffstat (limited to 'tools/depot-nixpkgs-update.nix')
0 files changed, 0 insertions, 0 deletions