about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2026-04-01 09:14:51 +0200
committerPjotr Prins2026-04-01 09:14:51 +0200
commit1e6438604ac914c181a616c33aafc6bb430f1159 (patch)
treefcb52d945d92d1b103b25df00a7e42399941536a
parent0233f131894305f2bf3f0a8d19b0d3491c50c4d3 (diff)
downloadgenecup-1e6438604ac914c181a616c33aafc6bb430f1159.tar.gz
Fix edirect error ERROR: No data supplied to stdin or file, mode: 'Dcrw--w----', unrecognized argument: 'x'
-rw-r--r--guix.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/guix.scm b/guix.scm
index 580afc2..f2c4673 100644
--- a/guix.scm
+++ b/guix.scm
@@ -211,12 +211,14 @@ GeneCup with four gene symbols (gria1, crhr1, drd2, and penk).")
             (lambda* (#:key outputs #:allow-other-keys)
               (let* ((out (assoc-ref outputs "out"))
                      (bin (string-append out "/bin")))
-                ;; Don't wrap .sh files -- they are sourced, not executed
+                ;; Don't wrap .sh (sourced) or .Linux (Go binaries)
                 (for-each
                   (lambda (f)
                     (wrap-program f `("PATH" ":" prefix (,bin))))
                   (filter
-                    (lambda (f) (not (string-suffix? ".sh" f)))
+                    (lambda (f)
+                      (and (not (string-suffix? ".sh" f))
+                           (not (string-suffix? ".Linux" f))))
                     (find-files bin)))
                 ;; wrap-program renames xtract -> .xtract-real, but the
                 ;; script looks for $0.Linux, so create symlinks