[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failing to use guile-bash
From: |
David Larsson |
Subject: |
Failing to use guile-bash |
Date: |
Wed, 21 Nov 2018 19:02:10 +0100 (CET) |
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
- Failing to use guile-bash,
David Larsson <=