From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SCDwOLHccmMRBgEAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 01:26:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qI32N7HccmPAEQAAG6o9tA (envelope-from ) for ; Tue, 15 Nov 2022 01:26:25 +0100 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 A173439D04 for ; Tue, 15 Nov 2022 01:26:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouiir-0002Rb-5v; Mon, 14 Nov 2022 18:18:37 -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 1ouieT-0002Di-NI for guix-devel@gnu.org; Mon, 14 Nov 2022 18:14:05 -0500 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouePl-0000sE-0Y for guix-devel@gnu.org; Mon, 14 Nov 2022 13:42:38 -0500 Received: by mail-il1-x12f.google.com with SMTP id d3so6202596ils.1 for ; Mon, 14 Nov 2022 10:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=DH/DFqen3NZvy+tAR/amt7Ro7o2FLcArmZTC6YZDDAQ=; b=oQkQE7rXJGnjPEwfd9rNOnQcg5CD2pDyH9v4oNY3dFCyozjYnpyqDgGNdUnyctwSBb VZnzeigK3L7OC1o7Fcj/sa+109QWuBicDeXNN63sQw0jkmreRZK0Eb7p45gav0glv2sI Qu5LeihI28EaC3rEsAtN/XcgEdnlt0n2BtSIWrBk9CmVLRq8cgWlpZbNdRWYH57tcPhL 1a6c4hkkWz3KDTjQ9tObHgwgxMN4BGyPVARRMlFhYsR4DgT7YaXZ6BMP7E3Yl79w84DD /6udc1U+DGUdX0bcCymCDcCG1WZ9uIpJaV8pUQRnVl4bxFxvJ/1N/4jbxHJ6dwPVHDI8 rTng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=DH/DFqen3NZvy+tAR/amt7Ro7o2FLcArmZTC6YZDDAQ=; b=ZHGZH21riqEPzNeAZ5bci5s2zTdSGZO2y7u3sipfdWQg+BuNvl/uTx90dzKsiXf82Z xrQRBZVUVlOod/ssqnUI9KIEUBgKblXpWpspLff5wL5wXcWzMh6SjdLaE1unokrFRS9q WhRvyUuwU/mHv1uiJM3Da5WP82ars7Q2TtNHRK2BuzhGAUITE+O346C1G2YKXLCPiUGV FyEnC9ao4251Qx7h1h+1r5iNmpcg0cWOpGjq/LDyBI37ZYVo2tuK9nRrgjJentC8IO6W c1b0ZQirGkx5y7HxSr46B/RtdivKoYghSeyxwFlxNSAgI2Ma5GX3YGvJ8WKypnAuJLdO CJMw== X-Gm-Message-State: ANoB5pmtKXEWwU8NxjmW28W/KGzg7prtCVGBm34F5megj/npc8ieEmIV iJXNeS8bqQT14kRQB/vT+DCobOE8C0DLooL99Xb4mikd X-Google-Smtp-Source: AA0mqf4R+puj9wVo95TVR/0V6jSzGJ2z43oZGRapZaeSlc/6eyQwZmRWlwW33DykQBL/XK960E3cqm13DFIK0TepYJs= X-Received: by 2002:a92:c644:0:b0:302:3d0b:58e7 with SMTP id 4-20020a92c644000000b003023d0b58e7mr6337163ill.18.1668451355143; Mon, 14 Nov 2022 10:42:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andy Tai Date: Mon, 14 Nov 2022 10:41:58 -0800 Message-ID: Subject: Fwd: question on setting up guix.scm for project development To: guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::12f; envelope-from=lichengtai@gmail.com; helo=mail-il1-x12f.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668471985; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DH/DFqen3NZvy+tAR/amt7Ro7o2FLcArmZTC6YZDDAQ=; b=hgZGmpqHQUNVBihXkpwDVJyspFgqwxEY1Tl6fFJ0rAg6bzqxwhK3nxEjBcFkOkwJmaeyAe KEymJyffo7HpC12XuilZerpGPtFhPc/ce7Pecy6NOtQ6YuhO67H9mDtcmSYAlVKmPSQmKn DT5Yv0Ml4z9Bgb1e+HmCw//tFjRSdXXjsuZ8d257yAIvZEWvqfAIQmVrPqNNmoe0faABRZ h7H4LWqmx8SFmw6Y3ZhhJqT68G8qZWD9joTNEQXV0Ktt6LkJ/HFlk4CBXhn6xTx1fRJI6A HdQpDDjE/yxzqgsI6KUuKHKfp47CxEezq6c1108Kg7/HMyxW44gZCwauFpcmtg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668471985; a=rsa-sha256; cv=none; b=VexRJaoLMxQL6t19hWJaI6ZSLK9aN9NtC0n1u7LEK6EqT8GROVk3it9R79/gguvQxs0o6K 8XFC6Dl/k6th5x94m1sfRq0QX80MJmJyxzfvjv98IeSrYWmgvNkr5vw7rpZybRbJlTD3Gr 5EFf0+DXzm7xgYnIRXdNPf6SV4PwTMZTUMKnOLeHqd/Fdhq2nBRq4Ev4Adl+V/jMs5hprW oZzSYmpHCx/3b8Poi5LOlwk1L0bUj3geQPTba2MYN9N2i6iZh5lVXdOy39r64jtKvzF9Re YnC+4w7vGK+nr0E/4JTuMK1HGmP30I4mHYnaK8Y3PBNvlYMmif5JECt3m/VBPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=atai-org.20210112.gappssmtp.com header.s=20210112 header.b=oQkQE7rX; 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" X-Migadu-Spam-Score: -4.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=atai-org.20210112.gappssmtp.com header.s=20210112 header.b=oQkQE7rX; 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" X-Migadu-Queue-Id: A173439D04 X-Spam-Score: -4.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: xHI2B8rUYuh+ Hi, guix allows setting up an environment containing all the dependencies for development of a package; this can be done via a guix.scm file containing the package definition. My question is, if I am developing a package which has dependencies with newer versions than what is available in the guix repo, how can I use the guix.scm file to bring in the new version of the dependencies? As an example: Say my package "my-package" has dependencies d1, d2, d3 where d2 in the current guix package repo is at version 0.1.2 but I need a later release version 0.1.4; so I tried something like this: ----guix.scm--- (use-modules (guix packages) ....) (define-public d2-0.1.4 (package (name "d2") (version "0.1.4") ... ) (define-public my-package (package (name "my-package") (version "0.1") ... (input (list d1 d2-0.1.4 d3...) .... )) my-package ---end guix.scm--- and if I use guix shell -f -d ./guix.scm this does not seem to generate an environment that contains the new dependency, that is d2 version 0.1.4 I wonder how can this made to work? Ideally no need to create a private channel or such.. Thanks for info on this.