tvl-depot/tvix/glue
Aspen Smith 0db46dacea feat(tvix/glue): Init fetcher builtins
Initialize a new empty builtins module `fetcher_builtins`, which will
contain the builtins which fetch URLs from the internet:

* fetchurl
* fetchGit
* fetchTarball
* fetchTree (maybe? this is experimental)

These builtins are all implemented in CPP nix at:
https://github.com/NixOS/nix/blob/2.20.2/src/libexpr/primops/fetchTree.cc

These builtins are added to the evaluation context using a similar
mechanism to the derivation builtins, and have been added everywhere
derivation builtins were previously being added.

Change-Id: I133b91cc9560f23028621414537f712e7bd8a825
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10974
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-02-19 16:51:10 +00:00
..
benches feat(tvix/glue): Init fetcher builtins 2024-02-19 16:51:10 +00:00
src feat(tvix/glue): Init fetcher builtins 2024-02-19 16:51:10 +00:00
Cargo.toml feat(tvix/glue): drive builds on IO 2024-02-18 08:59:49 +00:00
default.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00