diffoscope: fix build

ZHF #122042
Failing Hydra build: https://hydra.nixos.org/build/143815905

Currently the diff-check for `.mp3`-files is failing. The only reason
for that is that right now is that there are too spaces too much on the
last line[1].

[1] https://salsa.debian.org/reproducible-builds/diffoscope/-/blob/175/tests/data/mp3_expected_diff
This commit is contained in:
Maximilian Bosch 2021-05-23 19:08:05 +02:00
parent 278bcdce1f
commit ea55d23cd8
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -35,6 +35,10 @@ python3Packages.buildPythonApplication rec {
# When generating manpage, use the installed version
substituteInPlace doc/Makefile --replace "../bin" "$out/bin"
# https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/258
substituteInPlace tests/data/mp3_expected_diff \
--replace " Stream" "Stream"
'';
nativeBuildInputs = [ docutils help2man installShellFiles ];