diff options
author | Arun Isaac | 2022-09-19 02:23:45 +0530 |
---|---|---|
committer | Arun Isaac | 2022-09-19 02:23:45 +0530 |
commit | 5c86492acbc97881a04fb1d8a6be818fb980a1cd (patch) | |
tree | 4c8b31943d57f847d5e612369983e779521392a2 | |
parent | a92eadccca2150fd173cd60d7113ab8588d9f9ca (diff) | |
download | tissue-5c86492acbc97881a04fb1d8a6be818fb980a1cd.tar.gz tissue-5c86492acbc97881a04fb1d8a6be818fb980a1cd.tar.lz tissue-5c86492acbc97881a04fb1d8a6be818fb980a1cd.zip |
guix.scm: Patch shebang in executable script.
* guix.scm (tissue)[arguments]: Add patch-source-shebangs script.
-rw-r--r-- | guix.scm | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -40,6 +40,11 @@ #:phases (with-imported-modules '((guix build guile-build-system)) #~(modify-phases %standard-phases + (replace 'patch-source-shebangs + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bin/tissue" + (("^exec guile") + (string-append "exec " (search-input-file inputs "/bin/guile")))))) (delete 'configure) (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) |