Gabriella439 / Gabriella439/nix-diff

`__contentAddressed` support

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

Description

`nix-diff` seems to struggle parsing CA derivations:

```console
❯ nix-diff \
"$(nix-instantiate "" -A hello)" \
"$(nix-instantiate "" --arg config "{contentAddressedByDefault = true;}" -A hello)"
nix-diff: user error (Could not parse a derivation from this file: /nix/store/7vkm78pnc8njx7c3sz3l7d7bpcm5kwv9-hello-2.12.1.drv)
laut on  main [!+?] via 🐍 took 2s
❯ nix-instantiate "" --arg config "{contentAddressedByDefault = true;}" -A hello
/nix/store/7vkm78pnc8njx7c3sz3l7d7bpcm5kwv9-hello-2.12.1.drv
```

CC @mschwaig #OceanSprint #OceanSprint2025

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.