From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6EJzNP6Hql+ZKAAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 12:30:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OPI7MP6Hql8nYQAAB5/wlQ (envelope-from ) for ; Tue, 10 Nov 2020 12:30:54 +0000 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 644A39401BC for ; Tue, 10 Nov 2020 12:30:54 +0000 (UTC) Received: from localhost ([::1]:33148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcSnV-0006S6-5l for larch@yhetil.org; Tue, 10 Nov 2020 07:30:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcSnE-0006RS-Uv for guix-devel@gnu.org; Tue, 10 Nov 2020 07:30:36 -0500 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:40335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcSnB-0005nQ-Ka for guix-devel@gnu.org; Tue, 10 Nov 2020 07:30:36 -0500 Received: by mail-ej1-x62f.google.com with SMTP id oq3so17301974ejb.7 for ; Tue, 10 Nov 2020 04:30:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=DAULWNHIhXt6OW0SXUcoiBt5Sc5df1EW/zSQlV+3ATQ=; b=aKWNhgaasfvnpeuyGJ1tM8KqFK3zMseYkuChyC0/tqOXIMwJmPZnlR+2/9hJ5DBMsg eiyAJCmvmHYBXzfZfZeOS4ycb/6MVlZOb3HKos66CPQJFsUIqAqe23y6MIzSUig84Ai1 +x+inbbuQXDEdGPV32/2bC3iz9W5gPYnJHEi5thBClPIXAtY5vuJM/ESh+zb1+1hHKDg sy8u6givz93wGGv1G/HxXDa99oM1RA3JACqIyVliuuJOO7UG/IkzklquQMsAW1l9RnDy 3doI/X9QHbjf25odD6dXs8W9XeL+rLroKGl3tzbrIM8DsVZbYTz5Bo/dTg9/S2q+8wQ8 rqKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=DAULWNHIhXt6OW0SXUcoiBt5Sc5df1EW/zSQlV+3ATQ=; b=M30SLF/2ch9Xc5OW7sjFtdAufpcuVMfdD4/FRWlxVirc6PAdgHhE6KFiRbbUVvtut8 uguvxkINEt+Ogoy40A5kV3kyaTZS5ggkZd7gL+1fGgXSaNyYcuHBQmw+8KQ/J0+oejV0 Pz8yc6lpCc59ywv+IKUiI997uUJSUutF0NqNtcUxHP25KSqkP1BBUBb1Q6N3YFEziDW2 HlYBlDRWreBehN0mOKpaxQVdKmyu8GSrmzruzQTiXw3qVZvQUlag3rcfX+p8aBYRjrL3 OH5rnuu4SX0cgdTmwOGHuTM60UL3EtSIt6pPOf7UPjL+xO9TKm1SumiktSeCNUhKvb4O wUEA== X-Gm-Message-State: AOAM532+ar0NNgKMJ0jgVk6ecW51OuNrMXzy7RKK2M1uDhZQYm0bJVd4 i10ntyqlblNEajLYPr8YKHA= X-Google-Smtp-Source: ABdhPJwd+pI7SQAUxClKAUJ/Q0qFw03gX8lEmCp68MQX9cguB2GYMCLkUrsxi7hjjEoGeVHyo0O8Tw== X-Received: by 2002:a17:906:2ddb:: with SMTP id h27mr19587178eji.213.1605011431899; Tue, 10 Nov 2020 04:30:31 -0800 (PST) Received: from susa ([41.80.188.235]) by smtp.gmail.com with ESMTPSA id e1sm10558422edy.8.2020.11.10.04.30.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Nov 2020 04:30:30 -0800 (PST) From: "Bonface M. K." To: Christopher Lemmer Webber Subject: Re: Racket packages / build system References: <87ft6c1ypz.fsf@dustycloud.org> <865z77smyg.fsf@gmail.com> <87a6wizuic.fsf@dustycloud.org> <86blg6xncq.fsf@gmail.com> <87a6vqxm3m.fsf@bendersteed.tech> <87imaem9dd.fsf@dustycloud.org> Date: Tue, 10 Nov 2020 15:30:16 +0300 In-Reply-To: <87imaem9dd.fsf@dustycloud.org> (Christopher Lemmer Webber's message of "Mon, 09 Nov 2020 17:51:58 -0500") Message-ID: <86y2j9iecn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=bonfacemunyoki@gmail.com; helo=mail-ej1-x62f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Dimos Dimakakos , Pjotr Prins , racket-users@googlegroups.com, racket-dev@googlegroups.com Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=aKWNhgaa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: MQfE60p3Nhe/ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi racket-dev and racket-users! I'm trying to create a build system for Racket in Guix(a long-standing feature for some of us in the Guix community). It appears that Racket, vis-a-vis raco, maintains some "global" state whereby package-installs leads to the update of some files, links, search-paths and other refs(hence the statefulness) that I won't go into. There's a similar project, racket2nix(please see: https://github.com/fractalide/racket2nix) which overcomes this by generating a temporary environment(by copying most of the racket folders and the deps needed as writable folders) where it installs with raco and then tries to update racket's global state. This feels slow and hacky. To summarize, the default racket install system is quite stateful(!) and also many operations seem to try to touch files. I'm considering studying the racket2nix more and going that route as a last resort if I don't find a work-around for the aforementioned state issues. Another possibility(though I don't know how feasible that would be) would be to figure out how raco works(by studying it's source) and do the same thing in a Guix-y way. I however, don't know yet how I would overcome the state issue :( Racket-dev or racket-users, is there some important thing I'm missing? Is there some (maybe undocumented, new or WIP) way of installing racket packages without maintaining state? Any pointers/ suggestions are gladly welcome. I'm invested of having a way to package racket packages in Guix; and I believe it's a big step forward for Racket in increasing it's reach in the Guix community :) PS: Full e-mail thread here: https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00298.html =2D-=20 Bonface M. K. Chief Emacs Bazu / Rieng ya software sare Mchochezi of: / Twitter: @BonfaceKilz GPG Key: D4F09EB110177E03C28E2FE1F5BBAE1E0392253F --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCAA3FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAl+qh9sZHGJvbmZhY2Vt dW55b2tpQGdtYWlsLmNvbQAKCRD1u64eA5IlPx/DD/9EIqgVnS5Y+TzvAgqSq6JS 3mYxTvVaJlqhmRngoCMMp6gXJ3UEtOm6Xwj1QWCAo6fR4XOJwLt2DmqgbK8zgh4h WyG/Fi5yWT+B4AO2vwtCOfbRYp7WtzeorMiRMmd2H9zy4sKLXpoGgDQRMm5Qa6/x A/DW+Ks3K2SojiddCr0DMpJGu87ImEbZJApWebifdnjzu78uXD/3sYWtsgKUTZJJ bAxwZs9Ttc9ySfMm/qz96MsNS2TVPuMmqzOvYPuvRsIPZWYAKDoZn08o3KnQI2yF fXx65XtODj8WThyvgUN1h1kTN44HOplhQ5y3m0enJMhJ2o4irzx8fwyXmTtBwd9m HPXQoCzONaEJvsuSrrdF+DogusuV8UhOSA0yT21Mp0W3XRXszSfVSPFbTPbJO2Hj v4B7zhHrw1w+/yHrFOpuZc0gX0fiWb1EQydAebGCGGOYECLFv01Al8pcQPDnxZCn DusQFbaHM10kFzCoJQwV0GltlVIJAeG3568/qtKRz+ujAqM0zpm5jsVU/eOUPryO EXnP0tEv0vwJm5rVSc1PhW5PV/t6FImklQcxeza+2yh6+EQqq8MPuP2lr1f0WLSd y+GaKrSRS3wl+OCTOtFniakAgBE/GDqIw0zVwn9XY+octIXzgWo70cqXif7OZBSt U12XWKAdAiAzx8CHKHy0vw== =lrel -----END PGP SIGNATURE----- --=-=-=--