summary refs log tree commit diff
path: root/gnu/packages/dezyne.scm
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-04-24 20:54:31 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-04-24 21:04:11 +0200
commit5eb1d1b6482e29239f1d40dfcb815cdc12a2bdf0 (patch)
tree9287c3f60b6249a710264fa6bc3235a8b2c669a6 /gnu/packages/dezyne.scm
parentc7cdd4a6c7e795575c1baf6a655cb317f56fcf81 (diff)
downloadguix-5eb1d1b6482e29239f1d40dfcb815cdc12a2bdf0.tar.gz
gnu: dezyne: Add patch to avoid "Exec format error".
This fixes

    In execvp of ./test/all/parse_import_order/run: Exec format error

on shell scripts that lack a shebang.

* gnu/packages/patches/dezyne-add-missing-shebangs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/dezyne.scm (dezyne): Use it.
Diffstat (limited to 'gnu/packages/dezyne.scm')
-rw-r--r--gnu/packages/dezyne.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/dezyne.scm b/gnu/packages/dezyne.scm
index 303c3f0436..c13374069f 100644
--- a/gnu/packages/dezyne.scm
+++ b/gnu/packages/dezyne.scm
@@ -22,6 +22,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix gexp)
   #:use-module (guix packages)
+  #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages guile)
@@ -37,6 +38,7 @@
        (method url-fetch)
        (uri (string-append "https://dezyne.org/download/dezyne/"
                            name "-" version ".tar.gz"))
+       (patches (search-patches "dezyne-add-missing-shebangs.patch"))
        (sha256
         (base32 "1v0anwr0iic26ck796b29dfyj1dxkjf935g134z98s95hvzzrhm3"))))
     (inputs (list bash-minimal