gnu: reprotest: Add phase fixing executable bit on virt files.

The switch to pyproject-build-system in commit
d3bad46f99 left off the execute bit on several
files.

Fixes: https://issues.guix.gnu.org/76602

* gnu/packages/diffoscope.scm (reprotest): Add 'make-virt-files-executable
phase.

Change-Id: Ie5e2b85b03aa11a1ede2d01069da2f401e2d424b
This commit is contained in:
Vagrant Cascadian 2025-03-01 13:51:45 -08:00 committed by Vagrant Cascadian
parent 0dacce4546
commit 2558392803
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -273,6 +273,13 @@ install.")
#:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'compress-documentation 'make-virt-files-executable
;; The autopkgtest-virt- files need to be marked executable for
;; reprotest to function correctly.
(lambda _
(for-each (lambda (file)
(chmod file #o755))
(find-files #$output "autopkgtest-virt-.*"))))
(add-after 'install 'install-doc
(lambda _
(let* ((mandir1 (string-append