Skip to contents

Imports the store paths contained in an archive file into the local Nix store. Useful for transferring built outputs between machines.

Usage

import_nix_archive(archive_file = "_rixpress/pipeline_outputs.nar")

Arguments

archive_file

Character, path to the archive, defaults to "_rixpress/pipeline-outputs.nar"

Value

Nothing, imports the archive contents into the local Nix store.

See also

Other archive caching functions: export_nix_archive()

Examples

if (FALSE) { # \dontrun{
  # Import from the default archive location
  import_nix_archive()

  # Import from a custom archive file
  import_nix_archive("path/to/my_archive.nar")
} # }