summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2025-07-17 14:09:47 -0700
committerVagrant Cascadian <vagrant@debian.org>2025-07-20 11:42:40 -0700
commit4c4451b9232ff22eef8bb2f8b512fd8a5e6b766c (patch)
treec0a0023c382b2f38d694478accf3796174cf3099
parent5b8ffb974c1465591a0e2c29d9547ffdae1dc852 (diff)
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.
-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 680595aec8..ebf0316080 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)