tvl-depot/tvix/glue
Aspen Smith 72b9a126b8 feat(tvix/glue): Implement builtins.storePath
This one's relatively simple - we just check if the store path exists,
and if it does we make a new contextful string containing the store path
as its only context element.

Automatic testing seems tricky for this (I think?) so I tested it
manually:

tvix-repl> builtins.storePath /nix/store/yn46i4xx5alh7gs6fpkxk430i34rp2q9-hello-2.12.1
=> "/nix/store/yn46i4xx5alh7gs6fpkxk430i34rp2q9-hello-2.12.1" :: string

Change-Id: I8a0d9726e4102ab872c53c2419679c2c855a5a18
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11696
Tested-by: BuildkiteCI
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: flokli <flokli@flokli.de>
2024-06-05 17:50:15 +00:00
..
benches refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00
src feat(tvix/glue): Implement builtins.storePath 2024-06-05 17:50:15 +00:00
Cargo.toml refactor(tvix): remove usage of async-recursion 2024-05-06 16:05:09 +00:00
default.nix feat(tvix): add CI targets for checking crate features powerset 2024-06-03 16:35:51 +00:00