diff options
author | Florian Klink <flokli@flokli.de> | 2023-03-04T00·39+0100 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-03-04T12·26+0000 |
commit | 67c9e2c770257efc24dabd8590b5f6618fe27bcb (patch) | |
tree | f75d7fda9c419d8072e353153d97eb07e9d292d9 /users | |
parent | 4cc4b2a8143bf2ecbdfde36643c233011781e5de (diff) |
feat(tvix/nix-compat): introduce parsing for Nix Hash strings r/5880
We ironically didn't add support parsing for the "native" format that Nix uses under the hood. This extends the from_str method to peek at the prefix of the string to determine whether to try decoding as SRI, Nix string, or whether it should be a bare digest. Change-Id: I33efd24968b16f86eff18305b4ca8f112c7131d7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8216 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'users')
0 files changed, 0 insertions, 0 deletions