From 1e6438604ac914c181a616c33aafc6bb430f1159 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 1 Apr 2026 09:14:51 +0200 Subject: Fix edirect error ERROR: No data supplied to stdin or file, mode: 'Dcrw--w----', unrecognized argument: 'x' --- guix.scm | 6 ++++-- 1 file 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 -- cgit 1.4.1