gnu: diffoscope: Add phase fixing execute bit on script.

Fixes a regression introduced with the switch to pyproject-build-system in
a5b88a7a4d.

* gnu/packages/diffoscope.scm (diffoscope)[phases]: Add
'make-extract-vmlinux-executable.
This commit is contained in:
Vagrant Cascadian 2025-07-17 14:09:47 -07:00 committed by Vagrant Cascadian
parent 5b8ffb974c
commit 4c4451b923
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -99,6 +99,13 @@
(lambda _
(delete-file "tests/comparators/test_berkeley_db.py")
(delete-file "tests/comparators/test_wasm.py")))
(add-after 'compress-documentation 'make-extract-vmlinux-executable
;; The script extract-vmlinux needs to be marked executable to be
;; able to extract vmlinux files.
(lambda _
(for-each (lambda (file)
(chmod file #o755))
(find-files #$output "extract-vmlinux"))))
(add-after 'unpack 'embed-tool-references
(lambda* (#:key inputs #:allow-other-keys)
(define (bin command)