From af23138727ef83ffa69216caee8a6f5a97ff6a02 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sat, 28 Oct 2023 14:48:56 +0200 Subject: [PATCH] github: improve r-b issue template You may need to run the regular `nix-build` before running `nix-build --check` --- .github/ISSUE_TEMPLATE/unreproducible_package.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/unreproducible_package.md b/.github/ISSUE_TEMPLATE/unreproducible_package.md index a868c26ca54b..13988026f8d7 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 '' -A ... --check --keep-failed +nix-build '' -A ... && nix-build '' -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 '' may not be deterministic: output '' differs from ''`, you can use `diffoscope ` 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: