guix-devel/guix
Ludovic Courtès 70dfdd501a
syscalls: Adjust 'clone' to Guile 2.2.
Before that, something like:

  (call-with-container
    (lambda ()
      (match (primitive-fork)
        …)))

would hang in 'primitive-fork' as the child process (the one started in
the container) would try to pthread_join the finalization thread in
'stop_finalization_thread' in libguile, not knowing that this thread is
nonexistent.

* guix/build/syscalls.scm (%set-automatic-finalization-enabled?!): New
procedure.
(without-automatic-finalization): New macro.
(clone): Wrap PROC call in 'without-automatic-finalization'.
2017-03-15 15:19:53 +01:00
..
build syscalls: Adjust 'clone' to Guile 2.2. 2017-03-15 15:19:53 +01:00
build-system build-system/cargo: Export %cargo-build-system-modules. 2017-03-03 12:06:11 +01:00
import import: stackage: Avoid using (guix ui) in importer code. 2017-02-14 08:38:45 +01:00
scripts pack: Add unit test. 2017-03-14 23:18:32 +01:00
tests tests: Move HTTP server to (guix tests http). 2016-11-16 18:00:41 +01:00
base32.scm base32: Use a custom error condition instead of 'misc-error'. 2015-05-31 22:39:48 +02:00
base64.scm base64: Restore original license header. 2016-08-27 08:45:27 -05:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in pull: Install (guix config) module to override the user's one. 2016-07-20 22:53:02 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cve.scm cve: Use a more compact format for the list of package/versions. 2016-05-28 01:07:12 +02:00
cvs-download.scm download: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
derivations.scm Use 'mlambda' instead of 'memoize'. 2017-01-28 18:55:20 +01:00
docker.scm guix: Add Docker image export. 2017-01-06 16:44:00 +01:00
download.scm download: Update the Savannah mirror list. 2017-03-08 23:42:53 +01:00
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
gcrypt.scm Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
gexp.scm gexp: Expose functions to allow creating derivation builders. 2017-03-09 12:39:05 +01:00
git-download.scm git-download: Add 'git-predicate'. 2017-02-09 13:56:54 -06:00
gnu-maintenance.scm gnu-maintenance: 'gnu-package?' uses 'eq?' memoization. 2017-01-28 18:55:20 +01:00
gnupg.scm gnupg: Honor $GUIX_GPG_COMMAND and default to 'gpg'. 2016-09-06 11:12:11 +02:00
grafts.scm grafts: Do not pull derivation outputs not depended on. 2017-01-25 11:04:25 +01:00
graph.scm graph: Add d3js backend. 2016-12-14 21:58:32 +01:00
hash.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
hg-download.scm download: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
http-client.scm http-client: Provide 'User-Agent' header by default. 2017-01-13 18:24:19 +01:00
licenses.scm licenses: Add wtfpl2. 2017-01-13 14:13:01 -05:00
memoization.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
modules.scm Use 'mlambda' instead of 'memoize'. 2017-01-28 18:55:20 +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: Fix 'liftN' fallback case. 2015-09-04 18:31:06 +02:00
nar.scm utils: Move 'fcntl-flock' to (guix build syscalls). 2016-05-06 13:25:30 +02:00
packages.scm packages: Remove 'define-memoized/v' and use 'mlambdaq' instead. 2017-01-28 18:55:20 +01:00
pk-crypto.scm pk-crypto: Improve documentation of 'key-type'. 2015-03-18 14:43:03 +01:00
pki.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
profiles.scm profiles: gtk-im-modules: Fix for gtk3. 2017-02-08 20:12:20 +08:00
records.scm records: Improve reporting of invalid field specifiers. 2016-07-14 19:07:07 +02:00
scripts.scm emacs: Disable grafts when dry-run is enabled. 2016-07-30 18:17:03 +03:00
search-paths.scm utils: Have search-path-as-list pattern search for directories. 2015-10-29 17:30:18 -05:00
serialization.scm store: Add 'add-data-to-store'. 2017-01-30 10:52:45 +01:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
ssh.scm ssh: 'retrieve-files' detects remote export failures. 2016-12-31 18:35:29 +01:00
store.scm store: Add 'add-data-to-store'. 2017-01-30 10:52:45 +01:00
svn-download.scm download: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
tests.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
ui.scm ui: Don't use '%default-port-encoding' to set the encoding of string ports. 2017-03-08 23:42:53 +01:00
upstream.scm upstream: Avoid '_' as a pattern variable in 'match'. 2017-03-14 11:19:21 +01:00
utils.scm utils: Use an idiom compatible with both 2.0 and 2.2. 2017-03-09 09:48:33 +01:00
zlib.scm zlib: Don't rely on EBADF being ignored by 'fport_close'. 2017-03-15 15:19:53 +01:00