Skip to content

Error writing to file: Broken pipe since v3.16.0 #358

@simonzkl

Description

@simonzkl

Describe the bug

When running Nix commands (e.g. nix run/nix develop/nix-store and some others) I get the following non-fatal error:

error (ignored): writing to file: Broken pipe
warning: disabling JSON logger due to write errors

Possibly something related to the json logger feature?

$ nix config show
...
json-log-path =
...

Steps To Reproduce

Upgrade to v3.16.0 on macOS and restart the Nix Daemon.

$ nix run nixpkgs#hello
error (ignored): writing to file: Broken pipe
warning: disabling JSON logger due to write errors
Hello, world!

Expected behavior

No error should appear.

Metadata

Determinate Nixd daemon version: 3.16.0
Determinate Nixd client version: 3.16.0

You are running the latest version of Determinate Nix.

The following features are enabled:

 * lazy-trees

Visit https://dtr.mn/features for more information.
nix (Determinate Nix 3.16.0) 2.33.3

Additional context

Clearing the user's nix cache didn't help. Downgrading to 3.15.2 fixes the issue.

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions