tvl-depot/tvix/glue/src
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
..
builtins feat(tvix/glue): Implement builtins.storePath 2024-06-05 17:50:15 +00:00
fetchers refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00
tests feat(tvix/glue): Implement builtins.storePath 2024-06-05 17:50:15 +00:00
.skip-subtree refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
known_paths.rs refactor(nix-compat): derivation_or_fod_hash -> hash_derivation_modulo 2024-05-02 10:32:00 +00:00
lib.rs refactor(tvix/glue): move decompression into fetchers/ subdir 2024-04-29 13:11:36 +00:00
refscan.rs refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
tvix_build.rs feat(tvix/nix-compat): Use StorePath in Output 2024-02-21 11:38:03 +00:00
tvix_io.rs fix(tvix): Avoid buffering file into memory in builtins.hashFile 2024-04-09 17:31:58 +00:00
tvix_store_io.rs feat(tvix/glue): Implement builtins.storePath 2024-06-05 17:50:15 +00:00