snix/tvix/nix-compat/src/derivation
Florian Klink e2c79e39f0 refactor(nix-compat): use StorePathRef for hash derivation modulo
Rather than passing strings around, use a StorePathRef.

This makes things a bit more typesafe, and more aligned with what we
want to do in b/264.

Change-Id: Ib7080addf27e7f1a9c8da1d8aaa66744468e3b5a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10633
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
2024-01-16 08:37:07 +00:00
..
tests refactor(nix-compat): use StorePathRef for hash derivation modulo 2024-01-16 08:37:07 +00:00
errors.rs docs(nix-compat/derivation): fix reference 2023-12-21 16:44:16 +00:00
mod.rs refactor(nix-compat): use StorePathRef for hash derivation modulo 2024-01-16 08:37:07 +00:00
output.rs refactor(nix-compat/store_path): from_absolute_path to StorePathRef 2023-12-09 12:58:35 +00:00
parse_error.rs docs(nix-compat/derivation): fix docstring 2023-12-21 16:44:16 +00:00
parser.rs refactor(nix-compat/derivation): address clippy 2023-12-09 12:58:39 +00:00
validate.rs docs(nix-compat/derivation): fix references 2023-12-21 16:36:34 +00:00
write.rs refactor(nix-compat/derivation): rename input derivation components 2023-12-09 12:20:51 +00:00