Gabriella439 / Gabriella439/nix-diff

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

Open
#98 12 comments 2 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
494
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Hi there,

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

```shell
❯ 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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.