Skip to content

nix-diff seems to prepend 'daemon' before paths to the nix store #98

Open
@dwt

Description

Hi there,

while experimenting in the last few days nix-diff started behaving strangely, and started outputting errors like this:

❯ nix-diff /run/current-system /nix/store/l2h9ciy4ynxp1vklgvqaizzmfp52pff7-darwin-system-25.05.349a74c --color always 
nix-diff: daemon/nix/store/bqh2p1bc7kbswp0ip3agibm3irll984y-darwin-system-25.05.349a74c.drv: withBinaryFile: does not exist (No such file or directory)
❯ ll /nix/store/bqh2p1bc7kbswp0ip3agibm3irll984y-darwin-system-25.05.349a74c.drv
Permissions Size User Date Modified Name
.r--r--r--   38k root  1 Jan  1970  /nix/store/bqh2p1bc7kbswp0ip3agibm3irll984y-darwin-system-25.05.349a74c.drv

Is this something I have configured wrong and need to change or is this somehow a bug in nix-diff that it prepends daemon to that path before trying to read it?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions