tvl-depot/tvix/nix-compat/src
Peter Kolloch 48d4d10bac refactor(tvix/nix-compat): derivation_or_fod_hash w/o self.clone()
Instead of constructing a completely new derivation for hashing,
allow to call hashing with substituted input_derivations.

This

1. reduces the number of allocations,
2. prepares substituting `String`s for store paths with proper `StorePath`s without needing a separate derivation struct that allows hashes without `/nix/store` in input_derivations, and
3. keeps the change local to the `Derivation` implementation.

Change-Id: I36732c78f98fc59f0925b65823773222782017b0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10935
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Peter Kolloch <info@eigenvalue.net>
2024-02-17 07:30:22 +00:00
..
aterm docs(nix-compat/aterm/parser): fix docstring 2023-12-21 16:43:44 +00:00
bin docs(nix-compat/drvfmt): fix reference 2023-12-21 16:39:07 +00:00
derivation refactor(tvix/nix-compat): derivation_or_fod_hash w/o self.clone() 2024-02-17 07:30:22 +00:00
nar chore(3p/sources): Bump channels & overlays 2024-01-19 21:47:32 +00:00
narinfo docs(nix-compat/narinfo): fix reference 2023-12-21 16:36:34 +00:00
nixhash fix(nix-compat): accept SRI hashes of invalid length 2024-01-20 17:14:30 +00:00
store_path feat(nix-compat/store_path): build_ca_path may fail 2024-01-01 00:52:41 +00:00
lib.rs feat(tvix/nix-compat): add narinfo parsing and serialisation 2023-10-27 16:08:06 +00:00
nixbase32.rs refactor(nix-compat/nixbase32): address clippy 2023-12-09 12:58:39 +00:00