~ruther/guix-local

4c4451b9232ff22eef8bb2f8b512fd8a5e6b766c — Vagrant Cascadian 1 year, 3 months ago 5b8ffb9
gnu: diffoscope: Add phase fixing execute bit on script.

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

* gnu/packages/diffoscope.scm (diffoscope)[phases]: Add
'make-extract-vmlinux-executable.
1 files changed, 7 insertions(+), 0 deletions(-)

M gnu/packages/diffoscope.scm
M gnu/packages/diffoscope.scm => gnu/packages/diffoscope.scm +7 -0
@@ 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)