about summary refs log tree commit diff
path: root/web/blog/fragments.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-11-22T18·11+0200
committerclbot <clbot@tvl.fyi>2023-11-22T18·24+0000
commiteb84898c177b5c4157efebc44c56459b9cf1ccf7 (patch)
treed5acea05c31366f0d65cf04cad264c0fc79ea1c9 /web/blog/fragments.nix
parentef8a8af0bfa5963a4a19023acb2c94c3bc61f4d6 (diff)
feat(nix-compat/narinfo): drop .drv from Narinfo.deriver field r/7046
We always know this needs to end with a .drv, and fail parsing if it
doesn't, so there's no need to hang onto these 4 bytes.

This will make it much easier to synthesize a NarInfo<'_> later on from
a PathInfo proto, because we don't have to make this ".drv" appear out
of thin air.

Change-Id: Id95e7fd937d7c9a420a39b5a4bab73985640ca3b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10084
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'web/blog/fragments.nix')
0 files changed, 0 insertions, 0 deletions