diff options
author | Vincent Ambo <mail@tazj.in> | 2023-01-23T12·43+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-01-23T12·55+0000 |
commit | 5d856ac2e9b24f7b5a72346d8206cc366e1663ae (patch) | |
tree | a55159f4c677c5fbc660a9b4cc5a3926e08df877 /tvix/derivation/src/lib.rs | |
parent | be7f64ac87ee00aa13b0629ef4b927e14cc30e05 (diff) |
feat(tvix/derivation): add `path_with_references` r/5737
This allows the calculation of a store path for a plain string that potentially contains references. These paths are used for `builtins.toFile` (and potentially other features of C++ Nix). Change-Id: Ic507c7f264f362b5e6e628255869e5a4fbe4d788 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7906 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/derivation/src/lib.rs')
-rw-r--r-- | tvix/derivation/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/derivation/src/lib.rs b/tvix/derivation/src/lib.rs index 4f17c3906e4c..1b82251bf672 100644 --- a/tvix/derivation/src/lib.rs +++ b/tvix/derivation/src/lib.rs @@ -10,6 +10,6 @@ mod tests; // Public API of the crate. -pub use derivation::Derivation; +pub use derivation::{path_with_references, Derivation}; pub use errors::{DerivationError, OutputError}; pub use output::{Hash, Output}; |