https://github.com/zimbatm/experiment-nix-build-diff
https://github.com/zimbatm/experiment-nix-build-diff
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zimbatm/experiment-nix-build-diff
- Owner: zimbatm
- Created: 2019-07-17T20:54:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T12:05:46.000Z (almost 7 years ago)
- Last Synced: 2025-02-07T15:15:26.251Z (over 1 year ago)
- Language: Nix
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What if nix-build told you why it's doing a rebuild?
This is an experiment to wrap nix with the wonderful `nix-diff` project.
`./nix-build-diff [nix-instantiate-options]`
## Demo
`$ ./nix-build-diff ./nixos-19.03.nix`
```
/nix/store/83vqfmpq19g0rkgjf0sa319x919p0vvg-hello-2.10
```
`$ ./nix-build-diff ./nixos-unstable.nix`
```
/nix/store/qr8llfilb8grhigkrq4s5hc2sr4ap4pi-hello-2.10
- /nix/store/5xxmnpc9vx09day5pmqa7pkg3vnxjgz1-hello-2.10.drv:{out}
+ /nix/store/ygmx2889nhv4jzj3bx9vw097nrjvw1p5-hello-2.10.drv:{out}
```