Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP support in the Nix daemon #5265

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Commits on Sep 23, 2021

  1. Add TCP store

    Like UDSRemoteStore, but over a TCP connection. Example usage:
    
      $ nix path-info --store tcp://example.org:1234 ...
    edolstra committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    2e2a471 View commit details
    Browse the repository at this point in the history
  2. nix daemon: Add --stdio flag

    edolstra committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    9973e12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da9bec6 View commit details
    Browse the repository at this point in the history
  4. Clean up PeerInfo handling

    edolstra committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    72b4ca6 View commit details
    Browse the repository at this point in the history
  5. nix daemon: Support multiple sockets

    In conjunction with systemd socket activation, this allows the daemon
    to listen to multiple sockets, e.g.
    
      [Socket]
      ListenStream=/nix/var/nix/daemon-socket/socket
      ListenStream=1234
    edolstra committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    aaee026 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d4d527c View commit details
    Browse the repository at this point in the history
  7. Show IP client address

    edolstra committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    1347b33 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5a96c7a View commit details
    Browse the repository at this point in the history
  9. Tweak src/nix/daemon.md

    Co-authored-by: John Ericson <git@JohnEricson.me>
    edolstra and Ericson2314 committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    18e3c8c View commit details
    Browse the repository at this point in the history
  10. Fix macOS

    edolstra committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    a9d0ac5 View commit details
    Browse the repository at this point in the history