summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/diffoscope.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm
index 680595aec83..ebf0316080f 100644
--- a/gnu/packages/diffoscope.scm
+++ b/gnu/packages/diffoscope.scm
@@ -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)