Skip to content

tweag/nix-remote-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f0ed2b1 · Jul 22, 2025

History

85 Commits
Jul 22, 2025
Nov 4, 2024
Jul 22, 2025
Oct 30, 2024
Oct 30, 2024
Oct 30, 2024
Jul 22, 2025
Oct 30, 2024
Mar 29, 2024
Dec 5, 2023
Jun 29, 2024
Oct 30, 2024
Nov 30, 2023

Repository files navigation

nix-remote

This is a re-implementation of Nix's remote build protocol. The main objectives are:

  • to express the protocol declaratively, as much as possible;
  • to document the protocol better than it has been so far;
  • to provide a library for tools making use of Nix remote builds.

So far, the library has been used to implement a nix remote proxy, which forwards commands to a real nix-daemon, while inspecting the commands and the responses. I believe that we have implemented all worker ops used in the current version of the nix protocol. (Nix itself supports more ops, but only for backwards-compatibility.)

Usage

To build the project and use nix to connect to it as remote, run:

cargo build
nix store ping --store 'ssh-ng://localhost?remote-program=/PATH/TO/nix-remote-rust/target/debug/nix-remote'

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

48 stars

Watchers

25 watching

Forks

Releases

No releases published

Packages

No packages published

Languages