1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

github: improve r-b issue template

You may need to run the regular `nix-build` before running
`nix-build --check`
This commit is contained in:
Arnout Engelen 2023-10-28 14:48:56 +02:00
parent 8efd5d1e28
commit af23138727
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA

View file

@ -14,10 +14,10 @@ Fixing bit-by-bit reproducibility also has additional advantages, such as avoidi
### Steps To Reproduce
```
nix-build '<nixpkgs>' -A ... --check --keep-failed
nix-build '<nixpkgs>' -A ... && nix-build '<nixpkgs>' -A ... --check --keep-failed
```
You can use `diffoscope` to analyze the differences in the output of the two builds.
If this command completes successfully, no differences where found. However, when it ends in `error: derivation '<X>' may not be deterministic: output '<Y>' differs from '<Z>'`, you can use `diffoscope <Y> <Z>` to analyze the differences in the output of the two builds.
To view the build log of the build that produced the artifact in the binary cache: