diff options
author | Arnout Engelen <arnout@bzzt.net> | 2023-10-28 14:48:56 +0200 |
---|---|---|
committer | Arnout Engelen <arnout@bzzt.net> | 2023-10-28 14:58:11 +0200 |
commit | af23138727ef83ffa69216caee8a6f5a97ff6a02 (patch) | |
tree | c198d944e65e23fd9c1d12b5b02cd74ff498ef2b /.github/ISSUE_TEMPLATE | |
parent | 8efd5d1e283604f75a808a20e6cde0ef313d07d4 (diff) | |
download | nixpkgs-af23138727ef83ffa69216caee8a6f5a97ff6a02.tar nixpkgs-af23138727ef83ffa69216caee8a6f5a97ff6a02.tar.gz nixpkgs-af23138727ef83ffa69216caee8a6f5a97ff6a02.tar.bz2 nixpkgs-af23138727ef83ffa69216caee8a6f5a97ff6a02.tar.lz nixpkgs-af23138727ef83ffa69216caee8a6f5a97ff6a02.tar.xz nixpkgs-af23138727ef83ffa69216caee8a6f5a97ff6a02.tar.zst nixpkgs-af23138727ef83ffa69216caee8a6f5a97ff6a02.zip |
github: improve r-b issue template
You may need to run the regular `nix-build` before running `nix-build --check`
Diffstat (limited to '.github/ISSUE_TEMPLATE')
-rw-r--r-- | .github/ISSUE_TEMPLATE/unreproducible_package.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE/unreproducible_package.md b/.github/ISSUE_TEMPLATE/unreproducible_package.md index a868c26ca54..13988026f8d 100644 --- a/.github/ISSUE_TEMPLATE/unreproducible_package.md +++ b/.github/ISSUE_TEMPLATE/unreproducible_package.md @@ -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: |