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 OJRYEsOJrl/NXgAA0tVLHw (envelope-from ) for ; Fri, 13 Nov 2020 13:27:31 +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 SO8UDsOJrl+xHQAAB5/wlQ (envelope-from ) for ; Fri, 13 Nov 2020 13:27:31 +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 4B0849401BC for ; Fri, 13 Nov 2020 13:27:30 +0000 (UTC) Received: from localhost ([::1]:40428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdZ6v-0006rx-4D for larch@yhetil.org; Fri, 13 Nov 2020 08:27:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdZ6m-0006rp-T7 for guix-devel@gnu.org; Fri, 13 Nov 2020 08:27:20 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:39792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdZ6l-0005Ms-2l; Fri, 13 Nov 2020 08:27:20 -0500 Received: by mail-wr1-x429.google.com with SMTP id o15so9911871wru.6; Fri, 13 Nov 2020 05:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=o57bTECbMO3MKAKN8OmeORlMFPHB06cthoaRofbCXtM=; b=s+xEwIYzcRCwhNpI2ywKZc5bt+7I1zYzZSCgE/DG6fnmBCVIzHZ2fyC8NnRd0gG/ld 8Fn4C10nk82Wmug6yrw5fd2AVvT/SFV4zNimgiiyCoe6l10IsXQ9H8VxZT2gfPUxThr4 iwKUnGymIQs8OkqY8tKYgK8hxRQQ4t1efFWXSjSUrIwF8gjQKfAGBhwyLBmcK9XlEAHO gC7hGoUIklPY/M9ugFhNb/F4X/B+mZbiNE4GpxA1CH29Mp9XRlKFlVguIC43SzA8npMc Z/eF3UXkuwgMeVN1FwHoz6hXuW2ngjEIzRWgYblYia/RRwLb01jtZbTlsNMd8upcSjA5 JrRA== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=o57bTECbMO3MKAKN8OmeORlMFPHB06cthoaRofbCXtM=; b=CSP5SpaOBMSkFVIDjn2eVWWL985MJkbX9slRjmDH43Kmht4vC3hQmie2P7kzOMosFt i6Q9XV5HXpCBkCmeygMRYFmHX0V4cG9el3NVq9FbArTjqB9qxrCgOV2q5IU+sd7FSXcN K3J6r8y/BvQ472NXuqlhURpqxK5LrQKG+fGXV95ctlOQetyE9c6KIdnq2hyBYLB8WdDy WtIlKZ6h2TvruLclwK4EBdwaKnpCJXpNf5mq7c7rPC2sS0esMHW3e3epj366yYzevZAF 8u8Wr14wopprgTT5qE2pD87BKeCwrTTmFeFM22UYhLl16NOEbjEcygI94Kibo5eSO/MH /hqQ== X-Gm-Message-State: AOAM530yB6Ov1mdJr4af+em4rXHUKSBWEuFLMPusYD/fjwDLZeJ8hLo+ 3q8rZaOX6BMLhEro5ndgyHQKc2NmgtC3zA== X-Google-Smtp-Source: ABdhPJxby6HRwy355aRFLsltWxgs2odlXhHaz/UnY1JPXPU5WiBJT3kHL5f5jmDA60P7PDXKxgyE0A== X-Received: by 2002:a05:6000:1050:: with SMTP id c16mr3581548wrx.400.1605274036658; Fri, 13 Nov 2020 05:27:16 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id v8sm10057464wmg.28.2020.11.13.05.27.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:27:15 -0800 (PST) From: zimoun To: Pierre Neidhardt , Ryan Prior , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Announcing emacs-guix-packaging In-Reply-To: <87ft5dzj2z.fsf@ambrevar.xyz> References: <87ft5dzj2z.fsf@ambrevar.xyz> Date: Fri, 13 Nov 2020 14:20:19 +0100 Message-ID: <86mtzle6lo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x429.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: Development of GNU Guix and the GNU System distribution 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=pass header.d=gmail.com header.s=20161025 header.b=s+xEwIYz; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.71 X-TUID: HvGm2JTjWA2r Hi, On Fri, 13 Nov 2020 at 10:45, Pierre Neidhardt wrote: > - Emacs-Guix uses private parts of Guix if I'm not mistaken. Since > these parts are prone to change, it breaks Emacs-Guix once in a > while. --8<---------------cut here---------------start------------->8--- $ ag '\(@' --scheme $(guix build emacs-guix -S) /gnu/store/=E2=80=A6-emacs-guix-0.5.2-2.58a840d-checkout/scheme/emacs-guix/= actions.scm 200: ((@@ (guix scripts build) log-url) store file)))))) /gnu/store/=E2=80=A6-emacs-guix-0.5.2-2.58a840d-checkout/scheme/emacs-guix/= system.scm 55: ((@@ (gnu system) operating-system-firmware) os))) /gnu/store/=E2=80=A6-emacs-guix-0.5.2-2.58a840d-checkout/scheme/emacs-guix/= pack.scm 31: (map (@@ (guix scripts pack) compressor-name) 32: (@@ (guix scripts pack) %compressors))) 40: (@@ (guix scripts pack) %formats))) /gnu/store/=E2=80=A6-emacs-guix-0.5.2-2.58a840d-checkout/scheme/emacs-guix/= profiles.scm 123: (@@ (guix scripts package) search-path-environment-variables)) --8<---------------cut here---------------end--------------->8--- On the other hand, we could ask if these should not be part of the API. The =E2=80=9C(guix scrip )=E2=80=9D seems a good clue. ;-) >From my point of view, your concern is not a real issue here. > On the other hand, leveraging the actual Guix API is a saner approach > than parsing the output. > > It's what I did in Nyxt: > > https://github.com/atlas-engineer/nyxt/blob/2-pre-release-4/libraries/osp= ama/ospama-guix.lisp Nice trick! But using =E2=80=9Cguix repl=E2=80=9D is just a way to avoid to the binding= Scheme-Emacs (or -Common) Lisp, for instance avoid Geiser. IIUC. Well, maybe invoking =E2=80=9Cguix repl=E2=80=9D is the fastest way to writ= e plumbing interfaces avoiding the tough binding. All the best, simon