From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MFuRLodOCGUalAAAauVa8A:P1 (envelope-from ) for ; Mon, 18 Sep 2023 15:20:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MFuRLodOCGUalAAAauVa8A (envelope-from ) for ; Mon, 18 Sep 2023 15:20:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7575A56241 for ; Mon, 18 Sep 2023 15:20:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695043207; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=t7Nk5Uhc98Y6QecWov3GOUd1DDusiZH1gDWUw0ej8U8=; b=H77BKYfEhRFmnT3XcTiB4XUUYZR/ZsDJKxj07wflsFEtWhzlbann1Y+/ooAHre8sCm0AJl M58+DnfakOvHVqN9gTgK74+IFC8bkZs7+/RLumJ6dwrVI+yC4yFVBkhHD2xqHYq/xQxZ3j hKSY5/7kXL/atbOqA1zJx7ToPmKLd33XD7Xn2j5EQivsFdqXdUT3Leiusf/UJUQNzu7VX/ 2uNRzLwdSKxw8idS+b001TaWdmHcL5ExMvBnWnyLVAAI3g5cTJoq30DTOrC8RNuxXStCz9 jtvv6rjV9rRtqqlp7y6RKoBTAPul5gRWQG7zcSFgsKCPOHg8upOEsIErpaFQLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695043207; a=rsa-sha256; cv=none; b=VuIVW8kAtP4z6UQoQgdfBRX6vPoPwL4HvNAjWsIMCxGsNr45xx3FAD9BkUVdZpknTq3xx2 Bz/UwblgRs7OiWvoO8u1XGHFJpEbSSjl50ikXqRnTfHYl64mn8X4nmpaOXNemvg1ECCB5v KRxok6GF4xWNyqlyMfufDBP0UoEvdghH8C1k1mtvPpRAX7BGYZTigp+16sP7Iv32znhJlx i95RA5QXVqLzLoNSHiRbchTBpjh+9t5aUAySzqatiHBz3Sgd+xxAKRNZh4bhYAEA4pWlw5 6R3dEv4/oGa8u+FBFXx4ZZQjRA8GH7SHVT5711RzXZsIUZoWrD8NRmnvCsurQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiE9e-0008Hc-C6; Mon, 18 Sep 2023 09:19:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiE9Y-0008BQ-Nj for guix-devel@gnu.org; Mon, 18 Sep 2023 09:19:06 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiE9W-0001OC-Ox for guix-devel@gnu.org; Mon, 18 Sep 2023 09:19:04 -0400 Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id 5E6B727BBE2; Mon, 18 Sep 2023 14:19:00 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9482b852; Mon, 18 Sep 2023 13:19:00 +0000 (UTC) References: <875y4et4up.fsf@cbaines.net> <877cosgy3k.fsf@posteo.de> User-agent: mu4e 1.10.5; emacs 28.2 From: Christopher Baines To: Mekeor Melire Cc: guix-devel@gnu.org Subject: Re: Implementing the guix-dameon in Guile Date: Mon, 18 Sep 2023 14:15:52 +0100 In-reply-to: <877cosgy3k.fsf@posteo.de> Message-ID: <87edivpqkc.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.35 X-Spam-Score: -5.35 X-Migadu-Queue-Id: 7575A56241 X-Migadu-Scanner: mx0.migadu.com X-TUID: ciiGNQyQxDX6 --=-=-= Content-Type: text/plain Mekeor Melire writes: > 2023-09-13 16:36 mail@cbaines.net: > >> I think this has been talked about for a while [1], but I want to >> make it happen. Currently the guix-daemon is still similar to the >> nix-daemon that it was forked from, and is implemented in C++. I >> think that a Guile implementation of the guix-daemon will simplify >> Guix and better support hacking on and around the daemon to add new >> features and move Guix forward. > > Yippie! I'm really excited about this; and convinced that it'll > greatly impact and improve the Guix project. > >> I'd like to hear what people think about which direction the >> implementation should go, and what features they'd like to see. > > Here's a feature-request (in the long-run). But I'm not sure if I > understand correctly that a new, improved Guix-daemon enables us to > implement this. Sorry if I'm wrong. I'd like to be able to step > through the build-process of a package phase-by-phase and see what > changed after each phase by looking at the file-tree. This definitely isn't in the minimal scope, but it's something that I think having the Guile daemon will maybe make easier to do. Given the phases are running inside the builder script, I think you'd need to have that cooperate somehow, and with the help of the daemon connect somehow to the user so that they can pause and resume the build process, and inspect the internal state of the builder. The daemon could also provide access to process/filesystem information as well. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmUITkRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeFyBAAlIH0mFvcn/HcIrM0iwDoHXzVZrvYJD1V fKW/6GhfAsm54wHSpQHd7yG09dJLTzFq+f4ojaMdlJlFWkg3C8vtikZOppHuFUfK TmwigRE8sTjT9InprNoOZKv1wCGmwLac+G9P6P5oz6SsN6vIcuIpXVsqe+MO2Egy 9iUH+ohb++ByRSlKCvt2NIrN28M16GpUjWsLIDdXzva+IYG7g22az10RfyR0MvJb DuIrGCYQEYoC4X/raFfqY1RzTP7fFtw42H383Be4TI5W9azsSJtUF3Z8e7FJOwu3 ExQGgpqs0X/ocOO6jJOwCT4DsKeob9MrkKwPDK839qvMeBcVrK0ipA8T23Z6b97K J11bZ7tQcELEY9vc8QOv/IH1epLCZskKOmxy37YomBVdlfwfAVujTxtjyeu+c3ph hEBcjXVLnn7vldesAE6vtbPyF7NXV5rHPAKDbqR9m+8AIdof9cgb5/TngguGmEGo gfW7R3AaapSELCVI/5ZAoo940FXpLyQreVntye29hBl/XicbwCfiEdViEpbwMPif Ah1W8d5v2KVjp5HMqmOn25NDw4F2NhQoY/MGutSOYDGA1Ds8XyWb3neINeeJKVxu 8LEicF1Ep6ygSU1RPFmQY0IdNpTY4ctWCwwd4kMB6MWv5uaCqdGgChZJ/nl0/T1l 1bvq/kZt7Fo= =XuEW -----END PGP SIGNATURE----- --=-=-=--