diff options
author | Florian Klink <flokli@flokli.de> | 2023-12-21T14·29+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-21T16·28+0000 |
commit | 9065089b0c4b16237cacf7c0878779cffb7f520f (patch) | |
tree | d7a210dce95aa47cabf759cefea675d81b4ccc3a /tvix/eval/src/tests/tvix_tests/eval-okay-attrs-simple-inherit.nix | |
parent | ea8fdb9304f17beb6d967ddaf8913512732e3432 (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/eval/src/tests/tvix_tests/eval-okay-attrs-simple-inherit.nix')
0 files changed, 0 insertions, 0 deletions