about summary refs log tree commit diff
path: root/tvix/nix-compat/src/nar/writer
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-21T14·29+0200
committerclbot <clbot@tvl.fyi>2023-12-21T16·28+0000
commit9065089b0c4b16237cacf7c0878779cffb7f520f (patch)
treed7a210dce95aa47cabf759cefea675d81b4ccc3a /tvix/nix-compat/src/nar/writer
parentea8fdb9304f17beb6d967ddaf8913512732e3432 (diff)
refactor(tvix/nix-compat): have helpers interact with StorePathRef r/7236
In most case, we don't actually need an owned `StorePath` struct, but a
`StorePathRef<'_>` is sufficient. The lifetime is only due to it holding
onto the name, but that one is mostly left untouched.

`Derivation::calculate_derivation_path` still needs to return
`StorePath`, as its name has a `.drv` appended.

Change-Id: Ie0d52f369d785711bb0658ea2b0bd2617fd9f45e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10389
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Diffstat (limited to 'tvix/nix-compat/src/nar/writer')
0 files changed, 0 insertions, 0 deletions