guix-play/guix
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
..
build bournish: Prevent inlining of run-time support procedures. 2020-04-02 16:07:08 +02:00
build-system build-system/gnu: Optimize the package graph. 2020-03-29 23:14:28 +02:00
import import/cran: Import missing module. 2020-03-25 16:28:57 +01:00
scripts guix system: Use 'mapm/accumulate-builds'. 2020-04-02 11:48:24 +02:00
store deduplication: Use nix-base32 encoding for link names. 2020-02-22 00:46:06 +01:00
tests challenge: Add "--diff". 2019-12-12 17:56:58 +01:00
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm base32: Export the base32 charsets. 2017-07-21 17:03:24 +02:00
base64.scm base64: Do not use (rnrs). 2019-12-15 00:34:05 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
bzr-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
cache.scm Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
channels.scm channels: Provide a hint when the 'guix' channel is lacking. 2020-01-09 23:33:04 +01:00
ci.scm ci: Fix 'evaluation-spec' binding. 2020-03-31 14:55:42 +02:00
colors.scm ui: Don't disable colors when INSIDE_EMACS is set. 2020-02-24 11:01:52 +01:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in Add (guix lzlib). 2019-05-06 23:21:33 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cve.scm cve: Rewrite to read the JSON feed instead of the XML feed. 2019-10-23 16:40:17 +02:00
cvs-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
deprecation.scm deprecation: Add a two-element form for simple aliases. 2020-01-12 00:19:09 +01:00
derivations.scm derivations: Inline 'find' in 'coalesce-duplicate-inputs'. 2020-01-23 23:34:10 +01:00
describe.scm guix package: Save provenance information when using '--manifest'. 2019-12-29 18:24:54 +01:00
diagnostics.scm diagnostics: Avoid highlighting complete messages. 2019-08-28 18:52:52 +02:00
discovery.scm discovery: 'scheme-files' ignores hidden files. 2019-07-26 21:49:25 +02:00
docker.scm pack: Provide a meaningful "repository name" for Docker. 2019-09-16 10:25:31 +02:00
download.scm download: Remove misbehaving kvin.lv mirror. 2020-03-09 16:01:17 +01:00
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
gexp.scm gexp: 'lower-references' uses 'mapm/accumulate-builds'. 2020-04-02 11:48:25 +02:00
git-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
git.scm git: Add missing exports for <git-checkout>. 2020-02-10 23:31:58 +01:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm upstream: Move KDE updater into a separate module. 2019-09-10 19:04:06 +02:00
gnupg.scm gnupg: 'gnupg-verify*' returns a status symbol. 2019-12-20 22:06:05 +01:00
grafts.scm grafts: Simplify access to store item references. 2020-04-02 00:06:26 +02:00
graph.scm Revert "graph: Provide access to the package record in the emit functions." 2017-08-24 23:55:51 +02:00
hg-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
http-client.scm download: Do not leak file descriptors on TLS ports. 2020-01-03 16:06:26 +01:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
inferior.scm inferior: '&inferior-exception' includes a stack trace. 2020-03-19 15:14:08 +01:00
json.scm Add (guix json). 2019-09-04 13:02:27 +02:00
licenses.scm licenses: Add QWT 1.0 license. 2020-03-24 11:42:41 +01:00
lint.scm lint: Add a #:store argument to check-derivation 2020-03-24 19:47:46 +00:00
lzlib.scm lzlib: Define 'dictionary-size+match-length-limit'. 2020-01-16 23:14:05 +01:00
man-db.scm profiles: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm Remove traces of "GuixSD". 2019-03-13 23:12:43 +01:00
monad-repl.scm monad-repl: Close connection when leaving the monad REPL. 2016-01-13 17:43:21 +01:00
monads.scm monads, gexp: Prevent redefinition of syntax parameters. 2019-02-06 23:06:18 +01:00
nar.scm nar: Really lock store files. 2019-06-05 23:10:37 +02:00
packages.scm packages: 'package->bag' keys cache by replacement. 2020-03-29 23:14:28 +02:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
profiles.scm profiles: Compute manual database entries in parallel. 2020-03-31 14:55:42 +02:00
profiling.scm profiling: Add a "gc" profiling component. 2019-01-15 20:24:08 +01:00
progress.scm Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
records.scm records: Improve reporting of "invalid field specifier" errors. 2020-01-16 18:30:57 +01:00
remote.scm remote, ssh: Show the command exit status upon failure. 2019-08-28 18:52:52 +02:00
repl.scm repl: Return stack traces along with exceptions. 2020-03-19 15:14:08 +01:00
scripts.scm scripts: Show disk-space warning when under the min of the thresholds. 2020-03-06 08:32:01 +01:00
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm self: Build with Guile 3.0. 2020-01-23 23:34:10 +01:00
serialization.scm serialization: 'read-byte-string' makes a single read(2) call. 2020-01-24 23:56:43 +01:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
ssh.scm ssh: 'send-files' reports missing modules on the remote host. 2020-03-23 10:48:17 +01:00
status.scm status: Display synthetic information about profiles being built. 2020-03-26 13:07:19 +01:00
store.scm store: Add 'references/cached'. 2020-03-29 15:32:17 +02:00
svn-download.scm guix: svn: Allow dropping externals. 2019-11-13 22:49:47 +01:00
swh.scm swh: Handle absolute URLs being returned by the API. 2020-02-23 12:30:18 +01:00
tests.scm packages: Remove 'search-bootstrap-binary'. 2019-06-14 21:57:39 +02:00
ui.scm ui: Clarify "dependencies changed". 2020-04-02 11:48:24 +02:00
upstream.scm gnupg: 'gnupg-verify*' returns a status symbol. 2019-12-20 22:06:05 +01:00
utils.scm Adjust module autoloads. 2020-01-06 16:31:54 +01:00
workers.scm workers: Display backtrace in pre-unwind handler. 2017-11-17 10:47:56 +01:00
zlib.scm zlib: Fix race condition when closing gzip ports. 2017-11-19 23:09:01 +01:00