snix/tvix/nix-compat/src/derivation
Florian Klink 1428ea4e19 refactor(nix-compat/store_path): use AsRef<str>
Implement PartialEq/Eq ourselves instead of deriving, by proxying to
name.as_ref() (and digest of course).

Also implement Hash on our own, clippy doesn't like this to be derived,
while Eq/PartialEq is not.

Change-Id: Idbe289a23ba3bc8dabf893d4d8752792ae2778c3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12744
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
2024-11-12 11:55:48 +00:00
..
tests refactor(nix-compat): derivation_or_fod_hash -> hash_derivation_modulo 2024-05-02 10:32:00 +00:00
errors.rs feat(tvix/nix-compat): Use StorePath in Output 2024-02-21 11:38:03 +00:00
mod.rs refactor(nix-compat/store_path): consistently use SP as type param 2024-10-11 17:19:12 +00:00
output.rs refactor(nix-compat/store_path): make StorePath generic on S 2024-08-20 15:14:27 +00:00
parse_error.rs refactor(nix-compat/store_path): make StorePath generic on S 2024-08-20 15:14:27 +00:00
parser.rs refactor(nix-compat/store_path): use AsRef<str> 2024-11-12 11:55:48 +00:00
validate.rs feat(tvix/nix-compat): Use StorePath in Output 2024-02-21 11:38:03 +00:00
write.rs refactor(nix-compat/store_path): use AsRef<str> 2024-11-12 11:55:48 +00:00