guix/nix
Manolis Ragkousis 9c3b28b911
daemon: Do not use clone on the Hurd.
Checking for CLONE_NEWNS is only needed for using tha Linux specific clone(2),
otherwise we can use fork(2).  Using clone on the Hurd needs some work, only
support LINUX for now.  See
https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00190.html

* nix/libstore/build.cc (CHROOT_ENABLED): Break into CHROOT_ENABLED
and CLONE_ENABLED.
(DerivationGoal::startBuilder): Replace CHROOT_ENABLED with __linux__.
(DerivationGoal::runChild): Only define pivot_root() if SYS_pivot_root is
defined.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
2020-03-26 12:59:33 +01:00
..
boost daemon: boost::format: Fix typo "referred". 2019-11-26 00:16:36 +01:00
libstore daemon: Do not use clone on the Hurd. 2020-03-26 12:59:33 +01:00
libutil daemon: Account for deleted store files when deduplication is on. 2020-01-12 00:19:09 +01:00
nix-daemon guix build, daemon: Rename "--no-build-hook" to "--no-offload". 2019-11-26 00:16:36 +01:00
.gitignore
AUTHORS
COPYING
local.mk Add system start-up files for guix-daemon. 2020-03-11 02:45:33 +01:00