all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Failing to use guile-bash
@ 2018-11-21 18:02 David Larsson
  2018-11-28 13:41 ` Catonano
  2018-11-30 11:54 ` scheme shells (was Re: Failing to use guile-bash) Giovanni Biscuolo
  0 siblings, 2 replies; 4+ messages in thread
From: David Larsson @ 2018-11-21 18:02 UTC (permalink / raw)
  To: help-guix

Hi,
I installed the guile-bash package and tried to use it as below but 
can't get it to work. Anyone who is successfully using it?

So far, I have done:
guix package -i guile-bash
enable -f ~/.guix-profile/lib/bash/libguile-bash.so scm

then created the file example.scm with the following content.
(use-modules (gnu bash))
(define-bash-function (dtach-start-emacs)
    (unless (file-exists? "/tmp/emacs.dtach")
      #$ [dtach -n /tmp/emacs.dtach emacs]))

and then ran: scm example.scm

which gave the following error message:
;;; compiling /home/user1/src/code_guile/example.scm
;;; WARNING: compilation of /home/user1/src/code_guile/example.scm failed:
;;; ERROR: In procedure scm_lreadr: example.scm:18:8: Unknown # object: 
#\$
ERROR: In procedure scm_lreadr: 
/home/user1/src/code_guile/example.scm:18:8: Unknown # object: #\

Not sure what's missing. All suggestions appreciated.

--
Regards
David Larsson

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-02 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21 18:02 Failing to use guile-bash David Larsson
2018-11-28 13:41 ` Catonano
2018-11-30 11:54 ` scheme shells (was Re: Failing to use guile-bash) Giovanni Biscuolo
2018-12-02 14:26   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.