diff options
| author | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2025-07-17 14:09:47 -0700 |
|---|---|---|
| committer | Vagrant Cascadian <vagrant@debian.org> | 2025-07-20 11:42:40 -0700 |
| commit | 4c4451b9232ff22eef8bb2f8b512fd8a5e6b766c (patch) | |
| tree | c0a0023c382b2f38d694478accf3796174cf3099 /gnu/packages/diffoscope.scm | |
| parent | 5b8ffb974c1465591a0e2c29d9547ffdae1dc852 (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.
Diffstat (limited to 'gnu/packages/diffoscope.scm')
| -rw-r--r-- | gnu/packages/diffoscope.scm | 7 |
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 @@ | |||
| 99 | (lambda _ | 99 | (lambda _ |
| 100 | (delete-file "tests/comparators/test_berkeley_db.py") | 100 | (delete-file "tests/comparators/test_berkeley_db.py") |
| 101 | (delete-file "tests/comparators/test_wasm.py"))) | 101 | (delete-file "tests/comparators/test_wasm.py"))) |
| 102 | (add-after 'compress-documentation 'make-extract-vmlinux-executable | ||
| 103 | ;; The script extract-vmlinux needs to be marked executable to be | ||
| 104 | ;; able to extract vmlinux files. | ||
| 105 | (lambda _ | ||
| 106 | (for-each (lambda (file) | ||
| 107 | (chmod file #o755)) | ||
| 108 | (find-files #$output "extract-vmlinux")))) | ||
| 102 | (add-after 'unpack 'embed-tool-references | 109 | (add-after 'unpack 'embed-tool-references |
| 103 | (lambda* (#:key inputs #:allow-other-keys) | 110 | (lambda* (#:key inputs #:allow-other-keys) |
| 104 | (define (bin command) | 111 | (define (bin command) |
