Compare commits
No commits in common. "93ebf2daad70be895fa4dc27377bb7762f699cd5" and "4bfaf425f0730aa1ceae63302fd86cf11d368270" have entirely different histories.
93ebf2daad
...
4bfaf425f0
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ type FileSize = usize;
|
|||
/// and the [libstore narinfo parsing code.](https://github.com/NixOS/nix/blob/6776e65fd960e25b55d11a03324f9007b6dc2a0b/src/libstore/nar-info.cc)
|
||||
#[derive(Builder, Eq, PartialEq, Debug)]
|
||||
#[builder(no_std)]
|
||||
#[builder(build_fn(error = "crate::error::NarInfoParsingError<'static>"))]
|
||||
#[builder(build_fn(error = "crate::error::ParsingError<'static>"))]
|
||||
pub struct NarInfo<'a> {
|
||||
/// The full store path, including the name part (e.g., glibc-2.7). It must match the requested store path.
|
||||
pub store_path: Cow<'a, str>,
|
||||
|
|
|
@ -10,7 +10,7 @@ use derive_builder::Builder;
|
|||
/// and the [libstore narinfo parsing code.](https://github.com/NixOS/nix/blob/af4e8b00fb986acf32d7e4cd4fff7218b38958df/src/libstore/binary-cache-store.cc#L37)
|
||||
#[derive(Builder, Eq, PartialEq, Debug)]
|
||||
#[builder(no_std)]
|
||||
#[builder(build_fn(error = "crate::error::NarInfoParsingError<'static>"))]
|
||||
#[builder(build_fn(error = "crate::error::ParsingError<'static>"))]
|
||||
#[builder(setter(into))]
|
||||
pub struct NixCacheInfo<'a> {
|
||||
/// The path of the Nix store to which this binary cache applies. Binaries are not relocatable — a binary built for `/nix/store` won’t generally work in `/home/alice/store` — so to prevent binaries from being used in a wrong store, a binary cache is only used if its StoreDir matches the local Nix configuration. The default path on nixos is `/nix/store`.
|
||||
|
|
Loading…
Reference in a new issue