~ruther/guix-local

6c9e7b2bea834e311938db79a815a48cab36e986 — Ludovic Courtès 11 years ago 4171750
build: Better reject systems where the shebang would be too long.

* tests/gexp.scm (shebang): Add "#!".
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/gexp.scm
M tests/gexp.scm => tests/gexp.scm +1 -1
@@ 224,7 224,7 @@
      (return (string=? system (derivation-system drv))))))

(define shebang
  (string-append (derivation->output-path guile-for-build)
  (string-append "#!" (derivation->output-path guile-for-build)
                 "/bin/guile --no-auto-compile"))

;; If we're going to hit the silly shebang limit (128 chars on Linux-based