Skip to content

nix daemon vs nix-daemon #8785

@bryanhonof

Description

@bryanhonof

Problem

I can't see if there's a difference between the nix-daemon and nix daemon command.
The current documentation of both looks quite similar, but it doesn't seem both accept the same flags.
E.g. I can pass --stdio to nix-daemon, but not to nix daemon.

$ # Just waits for connections, or user interrupt
$ nix-daemon --stdin
$ nix daemon --stdio
error: unrecognised flag '--stdio'
Try 'nix --help' for more information.

Proposal

Clarify which flags both command accept, and what their intended use-cases are.

Checklist

Priorities

Add 👍 to issues you find important.

Ref #7128

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions