From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eHUbEBd4PmcuJwEAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 00:00:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eHUbEBd4PmcuJwEAe85BDQ (envelope-from ) for ; Thu, 21 Nov 2024 01:00:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YJJsYCkO; dmarc=pass (policy=none) header.from=gmail.com; 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-Seal: i=1; s=key1; d=yhetil.org; t=1732147223; a=rsa-sha256; cv=none; b=Dc35IQYMq4WH68dUlGtax5x8SbA6+kbSRijZIKfBppJgNn09ti0Nk0/zHneToaFXglz54B e5MIQj6ZxC7a2bla/TVPtBUjhQa3mXXPxWJoRVS2DDaFrh7vYVmolSVASmP7FXbiGuoDgJ fKahivAMTXelJTVIVSxWkBXpaa6SixxlZQK+kXPygKLQcMs3ZZzsvrd3cregA8LHSPlpj9 UpJZvTB0/gR3o2+7Z1a8qsZaTmfdAJrYYh3ckwIgHl+73mRDxm+Hyloo7v44FQBKu/bHet jZXohWXarzl3skPAIo8EPwmJbpMp0lboyWZraE7aCXRU4dyXM663lMOCATblyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YJJsYCkO; dmarc=pass (policy=none) header.from=gmail.com; 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=1732147223; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=45i6OCOBdxjKxxJ5HkQ6aG1WBbTWsUVLq6kW/Ebx8lo=; b=rHC3lvhmTT1xSeb+kbSmq2iA+3Y+ne4SA1Qtga04t/x5tjUhEy/5ogG2cUoWu9Wg9fP9Sw 4nN3WnLpdTxGBcU7yCkQaG4vPRBluFYZJcIl44l51vmErONFSaJyg3lvnWDY2i02MQ71ZF xv+Axwq1tRHYv9nUSnvejBBujDxWlqEkhW8Ylb6qt3AmfsF6/4dml9jK8cZxBsVv5tPG0K i40JlXFetwsJrEWqgjcdmD6IGyWDyUIEQC70aMyRq6PpUuTkjKo/Xv3I1Zes9ACVk2SLjR 6aIVE/DkOIXxwiJmNIc02dOXSc2Ex/y/9griug3vGbuy0T2Tl/Djt9XkRiR7pg== 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 C97644DCB for ; Thu, 21 Nov 2024 01:00:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDubS-0006Se-MD; Wed, 20 Nov 2024 18:59:22 -0500 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 1tDubQ-0006SR-0s for guix-devel@gnu.org; Wed, 20 Nov 2024 18:59:20 -0500 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDubN-0004Kz-K2; Wed, 20 Nov 2024 18:59:19 -0500 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2e3686088c3so304840a91.0; Wed, 20 Nov 2024 15:59:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732147153; x=1732751953; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=45i6OCOBdxjKxxJ5HkQ6aG1WBbTWsUVLq6kW/Ebx8lo=; b=YJJsYCkOSNU4QK33pT8Pbkvd6EZ9qvwOjhlSF2T6u5NifbTrSeXLjkcbrkk+f08D8O /wPrlQb7V4X/RW0iXOGbDUjrFApuRWZRtAi0GX/uSWpIY29+dC99v+k3z7wNJ8WA+b28 V/MoHnK3jJ+uz9Q2ho10kEjXlxfFTWPphqPCZcGCTO80Mesoe/5yxLI3Q299Bjau5yn3 n5kfLAbCcXtHVpl15kh5YVF8ZPhS0PmTAI9G3UtSsCbLUpG7Gq8Y03VBEN3eYjyQvzbw 19U723Hy7BT7D9+17Mo2mH7vSNP1K/qk2ddhcJZiJZbSopNfRDM67pck/5p5XZY6hwNG Htng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732147153; x=1732751953; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=45i6OCOBdxjKxxJ5HkQ6aG1WBbTWsUVLq6kW/Ebx8lo=; b=Roi2zOLjby+cV7ij6q1nx8n8eoH2DxJQA3euPGdedVeoFYLmuj6qAAjXI1ZFgz6YzO AGrSdRKKqM2HZcAvGfv/SIvnSze6Y0XAW2r5vPlWrBVExBshuVqDz+/kkwB5uu10DImz MPxQl8Q//ikfls9Dj3hGKiaMOXslBvxAxkUadmJUYocWp2S6ZDPwPp0zuKeY+XvPlgO1 +Ox2g2TvVxFmAwUHo0t+3XAU99NerCugIReVSOdj4KfxshWE43bfFlDoLThc+QQ4Vuta JXZX3wdXpsJtiyL20mTOr4djm7VNZU1hDG+HEGhHVucvIy3RufRtYLihIAgMMJd4AmZZ 9maQ== X-Gm-Message-State: AOJu0YzbgG3lsmxwGxSjk5pEwObVsvu7ui0NPoQzb6GJU2HmDJPDDByI HX7xp2dyGXDkNUDqLij03VQx22zEWgJgJYZ0M2tY8hhbajO3DptqvVmnDUuGb8n60Cv3RttcsKJ xHttq2ACVs5BPhnscYOs5Bc4kAefQtUBc X-Google-Smtp-Source: AGHT+IEsUkNSeEgHn8qIMlFB9ubJJ7qo7U9IsF0ANa+s55o2LpIqLbFxqvpX/hUu5blQflYjReJRLMHXHILRIYXdab8= X-Received: by 2002:a17:90b:180f:b0:2ea:adaa:1a42 with SMTP id 98e67ed59e1d1-2eaca737d4bmr6565269a91.16.1732147153232; Wed, 20 Nov 2024 15:59:13 -0800 (PST) MIME-Version: 1.0 References: <871pz5wpe6.fsf@gnu.org> In-Reply-To: <871pz5wpe6.fsf@gnu.org> From: Josh Marshall Date: Wed, 20 Nov 2024 18:59:02 -0500 Message-ID: Subject: Re: [RFC] [Feature] In project `configuration.scm` allow dependencies to other repos with `configuration.scm` To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Development of GNU Guix and the GNU System distribution Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=joshua.r.marshall.1991@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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.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-Queue-Id: C97644DCB X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.28 X-Spam-Score: -9.28 X-TUID: s6YncfBARQlI Hello Ludo, I hadn't found that post, but what I'm trying to get across holds. Barring distribution of binaries since I don't think that is critical for improving and incremental adoption of Guix to support infrastructure. A `manifest.scm` could look like the following, keeping a close eye on the line containing "(remote-repo-dep URI GIT-REF)". ``` (use-modules (guix) (guix build-system gnu) ((guix licenses) #:prefix license:) (gnu packages autotools) (gnu packages ...) (gnu remote-repo-dep-mod) (gnu packages ...) (gnu packages version-control)) (package (name "your-project-name") (version "???") (source #t) (build-system ???) (native-inputs (append (list autoconf ... (remote-repo-dep URI GIT-REF) ... pkg-config) (inputs (list libffi bash-minimal)) (propagated-inputs (list libunistring libgc)) (native-search-paths (list (search-path-specification (variable "GUILE_LOAD_PATH") (files '("share/guile/site/3.0"))) (search-path-specification (variable "GUILE_LOAD_COMPILED_PATH") (files '("lib/guile/3.0/site-ccache"))))) (synopsis "...") (description "...") (home-page "...") (license license:lgpl3+)) ``` Now, having that single line as a way to include code as opposed to what can be accomplished similarly with similar expressiveness for the purpose of the target user group of researchers (think mechanical engineers, biologists, electrical labs, chemists) and general developers would lower the barrier of entry to use Guix and improve the quality of their projects to the point where it just wouldn't make sense not to. Now, since there is such a well developed and documented workflow for a similar process, would I be wrong in assuming that such functionality could be relatively easy to implement? Let me know if gmail is messing up formatting. I think something is off. On Wed, Nov 20, 2024 at 4:45=E2=80=AFPM Ludovic Court=C3=A8s = wrote: > > Josh Marshall skribis: > > > This is a technical workaround, not direct support. If such a feature > > is to be aimed at general developers and researchers, it can't be so > > circuitous. The Invocation from any form of Guix installation needs to > > be `guix shell` and just work. > > To make sure we=E2=80=99re talking about the same thing, Efraim is referr= ing to > the conventions documented at: > > https://guix.gnu.org/cookbook/en/html_node/Software-Development.html > > Ludo=E2=80=99.