From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mGdqNlzaPGehSgEA62LTzQ:P1 (envelope-from ) for ; Tue, 19 Nov 2024 18:35:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mGdqNlzaPGehSgEA62LTzQ (envelope-from ) for ; Tue, 19 Nov 2024 19:35:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WWyBP0U2; 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=1732041308; a=rsa-sha256; cv=none; b=gwLuwtRN3jSVKlPMM0BKyGpBgqAVXWCztZcQcNjBzxtB1ctXljhe1nOemrzAvp44lWZETp /vD8MSxq3O1xBZvCXg4hUCWxTYDBv616KwcQg+HCRhW+myGSqKX+qUx054U94772KR3Ab6 87G3jDABExg2yCDEdhf7epSotZp7lp0isykinLk15oel7a8MTp0k/hQhHnqQXhCG+ZnO3d Q3qnKO3xdv3TrxMol6Vxk+C1tXpUU1ndh6+qNmoXXFDaSWyb0VdHJsQ1v9qZfJ/z5fIKd0 PuZMuj7mAjsqhgID88cbxMGFsq5DtPe5CWJXPwltBczfqyYGq25TEjGlnj7mqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WWyBP0U2; 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=1732041308; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=lvAb3a6vL4jLK5i7bXqZQBYjJZbfulrJVZliHTdL8Y0=; b=iekDhhiqIjlTIWtmwbytWdwWIrlWhbjM2fQlMAMA038hq797PF8pQN/D69Q61HrvZbVsMZ qAgTkmxByUlmvnZVJS9dBKsP6Cn32D724i6hpgIinlgq49JW7OcbWCNJFVba6RZjbezMqt vkokBWX7hMkdvolQMBOjf3+pmNxqcs65EvVveHtOlC+KmTnTKLZ+IjqWGJ2orSQivOFXyf psh138NegbIEKl9vGPekw8scsqWL7o8pVXwjh9gCruFzECPKuJboVBp3OgIz3E9QI8XLM2 Lrg4SCYfXchUfi/3mQ27it3n3ZUisIDKtiMuNlxJcc6Gp3cFnG4oGdSSZWPWlg== 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 67A8581C3D for ; Tue, 19 Nov 2024 19:35:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDRHy-00035R-Gx; Tue, 19 Nov 2024 11:41:18 -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 1tDRHw-00034w-TV for guix-devel@gnu.org; Tue, 19 Nov 2024 11:41:17 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDRHv-0003fk-39 for guix-devel@gnu.org; Tue, 19 Nov 2024 11:41:16 -0500 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2ea527ae14aso855734a91.1 for ; Tue, 19 Nov 2024 08:41:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732034473; x=1732639273; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lvAb3a6vL4jLK5i7bXqZQBYjJZbfulrJVZliHTdL8Y0=; b=WWyBP0U2bNQoBmtjca2TDSqICQIiYYGhjV+05bm+Nf2XRqo+buyuPN0oouHOTxJFMW wG/SgT19yJSmz2NjZKmkZEQ9303OhkkAzdNUfvoRiY+9++V/L/cJjGMpEQATN8GtIkqw mIMBqDjt67Mg3PMrv8ne6IDbAQ2UkXsWaIB4xxl9IIGpUmt3KNqS2wpnAPmS/3AKuyYh IAMIONiI5tVuuGVXL7oLc+I0p/+5/97namZk3SLEoVhe/F5zx3Mck5eBDS5idLqf+FX0 tf+rA5e4L5DuymAdthQ9Xr0oyVTjzC0gsZYNK//58HwNpbRluQw9PylDaA5LhrOEheNP 1XBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732034473; x=1732639273; h=content-transfer-encoding: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=lvAb3a6vL4jLK5i7bXqZQBYjJZbfulrJVZliHTdL8Y0=; b=MacKrOdnvMTxBV6zWF4qXr1CR/2ZmQYcMtrdmIobkODgo0QmqKRlF793JimY4s7zMd 1LRfeCr2WZAdJQYZzvu9zS1WTiDc1acqtVj5klPvzFyjR14KvUiX1Xx9sm2jmUz1Vlym RCCI6d/35AT5hkhW+EzSemK0Kkwq5F82HYTUrJvr1smr4Mh5jw9jHHx3CRAs988qj+Ig aA72U0MkNDINI67h15YogDf+KOElu37Jjn9rWgLcBSKHLLKHFPpH6YVoOw/9b7vegj4Q cS7PybSXnbOW4n/I1kEuizXd3NnX65idAtcrDXF3Ciz+BqyuuKTE/MMuSlujx2C1N7fE x25Q== X-Gm-Message-State: AOJu0YwcshQOb5ISXJABxnXGKIif+OKQOl6xEDRWFZ5pZ3MKqP1vzX0s 6AuAV9YAJq86cZENxmBIXE7yS/gBFUmGRXGSWKl6BDa/xSE24tKI0zyrfDT/rrQpqYxhfpdkA1H ijj5BpaZkqUnynXX9FK+25PKtcXjjfzm8 X-Google-Smtp-Source: AGHT+IEI+LkhZdG3iQeT1x5ZrwoRqZXDN8CKWN5HTjd04nWJYoTAnyR/RdCS4o1Uu3tsQw24qY+f73mrofWSYwIMK7Y= X-Received: by 2002:a17:90b:5104:b0:2ea:4578:46c2 with SMTP id 98e67ed59e1d1-2ea45787722mr13086148a91.18.1732034472916; Tue, 19 Nov 2024 08:41:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Josh Marshall Date: Tue, 19 Nov 2024 11:41:01 -0500 Message-ID: Subject: Re: [RFC] [Feature] In project `configuration.scm` allow dependencies to other repos with `configuration.scm` To: 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::1030; envelope-from=joshua.r.marshall.1991@gmail.com; helo=mail-pj1-x1030.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.18 X-Spam-Score: -6.18 X-Migadu-Queue-Id: 67A8581C3D X-Migadu-Scanner: mx10.migadu.com X-TUID: ffWxCY0P2iEo 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. https://guix.gnu.org/manual/en/guix.html#package_002ddevelopment_002dmanife= st Would need to be extended to take a URI and git reference for individual dependencies. On Tue, Nov 19, 2024 at 5:28=E2=80=AFAM Efraim Flashner wrote: > > On Mon, Nov 18, 2024 at 01:25:22PM -0500, Josh Marshall wrote: > > Hello all, > > > > I have come across a use case that I don't find well addressed. If I > > am not wrong (and I very well might be) it would be a feature which > > could be of great use. First sent to a Nix channel, but I think the > > same applies here. > > > > ``` > > I want to use git repos with Nix Flakes in them directly as if they > > were package dependencies in another Flake. I can't seem to find good > > documentation for this. Is it even a thing? The purpose is to improve, > > but not impose perfection or slowdown, on developers or researchers as > > they Nix-ify their projects. The application is that I have a root > > project that needs to be put into a flake, which in turn has a number > > of other projects which are not Nix packages but could feasibly add a > > Nix Flake. The end goal is to be able to set up and package a project > > such that the end result is as easy to replicate for others as > > described here: > > https://obscuratur-in-arena.readthedocs.io/en/latest/A-good-way-to-set-= up-your-python-project-using-Nix-Direnv-and-Poetry.html > > ``` > > > > I regret that I must again be someone who just throws more work > > demands into the ether. The whole "I am finite" thing. > > There are a number of projects (like shepherd) which are also setup to > function as a channel. And Guix has the ability for channels to depend > on other channels. So it would be possible to create a package in a > channel which depended on a specific branch (or commit) of shepherd as > it appeared upstream. Is that the type of thing you mean? > > > -- > Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7= =9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypt= ed