Ludovic Courtès 3b4d7cdccc
bournish: Prevent inlining of run-time support procedures.
On Guile 3, those procedures could be inlined, leading to
unbound-variable errors:

  scheme@(guile-user)> ,bournish
  Welcome to Bournish, a minimal Bourne-like shell!
  To switch back, type `,L scheme'.
  bournish@(guile-user)> ls
  ice-9/boot-9.scm:1669:16: In procedure raise-exception:
  Unbound variable: ls-command-implementation

Reported by Ricardo Wurmus.

* guix/build/bournish.scm (define-command-runtime): New macro.
(ls-command-implementation, wc-command-implementation)
(wc-l-command-implementation, wc-c-command-implementation): Use it
instead of 'define'.
2020-04-02 16:07:08 +02:00
..
2019-12-12 17:56:58 +01:00
2019-12-15 00:34:05 +01:00
2020-03-31 14:55:42 +02:00
2019-05-06 23:21:33 +02:00
2019-09-04 13:02:27 +02:00
2020-03-24 11:42:41 +01:00
2019-06-05 23:10:37 +02:00
2020-01-23 23:34:10 +01:00
2020-03-29 15:32:17 +02:00
2020-04-02 11:48:24 +02:00
2020-01-06 16:31:54 +01:00