From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QPlXAQgSG2bx9QAAqHPOHw:P1 (envelope-from ) for ; Sun, 14 Apr 2024 01:15:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QPlXAQgSG2bx9QAAqHPOHw (envelope-from ) for ; Sun, 14 Apr 2024 01:15:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tilde.team header.s=mail header.b=WnasRNM7; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=tilde.team ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713050119; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dc7x2ZUhEFFEF0aYuN0dOSH1lfpyCkpiGLTr2TDCdJU=; b=Gql3Psm9GMhZZv2PEEV40/mvjavMmD6hTJKimOZ1kryNdX5VZArJnXQaYX4syTl58tGSTb QW6i6HILNUE/Rzw9KUA3/RmQT6GvtOx5MDzyDNY4Az14/SszX5vI9OcTSP31Qvrgsyd1KU BUrmFL+RX6MzQQIyCg0N4TjMICoDVimGgJ0AsE7jT4q7cRbtDGdJAo4m9M+NmOmmSluFts U0kEbljouTzi5AuxMwL76KwQqizpGRb14o5c+EjT/pR4UVz/82CvjQEWVyKTvYl/ZWoDhe WJ39NVkgPbraOL9aoGcRPmFMW5ZcJ8zugjo1G7LwvhvGmc7BaTKEWfeIzDiQUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713050119; a=rsa-sha256; cv=none; b=T6oV3Ce/jeR3bIAwLdSiplIApzlPET2ppelCsDnSiGCCKaEzdpm1mNf6nROFIxYvm/dd3M 7yhyKZCwGCkb8TqwS/anFRqJ2ru7WcaGKcaCAYDySdBjo3By09o1geAyIVq74wnZpH9zV3 J1gY4cMQVjciDK1v27vLhdQW0LXjzz41NWvSrzn51lAKgDKZk8Gx4BzC4t/ERxFlRr8nU3 CVnCPEqd1ZXh0ZaNudPuxGjnI9kPun1jCwgjZG/wm7jMRJh8RPS+EcFbnbj9DWlmLjjYYV nUKOu4HaaCKQjm9c1hAUCr29nju368+vRYLnKwIXYLbJ0tSOwHFngkKtBa9sbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tilde.team header.s=mail header.b=WnasRNM7; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=tilde.team 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 C65E035312 for ; Sun, 14 Apr 2024 01:15:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvmaD-0000tf-I4; Sat, 13 Apr 2024 19:14:53 -0400 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 1rvm2d-0005Po-6v for help-guix@gnu.org; Sat, 13 Apr 2024 18:40:11 -0400 Received: from tilde.team ([198.50.210.248]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvm2b-0007MV-9j for help-guix@gnu.org; Sat, 13 Apr 2024 18:40:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail; t=1713048005; bh=uO3wTBchAw/qsIbho4tj7lXALgp4GwLmfS2z5wJ6/AE=; h=Date:From:To:Subject:From; b=WnasRNM7pyW282kXJh1ggzm5dB0Gtd4+1pd/2JziByldWp/qAxu1gUexNhG9VwVVK dY5M3lbusjeDEsTnEYd5IxlUkwAGQzDOLhfrwSxVCFRdjQW4qQ3GoMi3GAveOEoNpB 2GWJawxNpiiINATFaf5FtnrFdLOGDYJd6AAm5fyk= Received: by tilde.team (Postfix, from userid 1546) id D538C4C3CE2; Sat, 13 Apr 2024 22:40:05 +0000 (UTC) Date: Sat, 13 Apr 2024 22:40:05 +0000 From: wakyct@tilde.team To: help-guix@gnu.org Subject: How to build a package variant using another package variant as an input with 'guix build'? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Received-SPF: pass client-ip=198.50.210.248; envelope-from=wakyct@tilde.team; helo=tilde.team 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 13 Apr 2024 19:14:52 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.94 X-Spam-Score: -7.94 X-Migadu-Queue-Id: C65E035312 X-Migadu-Scanner: mx12.migadu.com X-TUID: WvQBJEbsbT8d Hello all, I am new to Guix system and trying to build a package variant which depends on another package variant as an input, from the command line in a guix shell. I can build the variants using --with-git-url and --with-commit, but I can't figure out how to then add the input using --with-input. For example, this is what I tried: $ guix shell --container --nesting --network --development python-pivy soqt --no-grafts nss-certs george@lucretius ~ [env]$ guix build soqt --with-git-url=soqt=https://github.com/coin3d/soqt \ > --with-commit=soqt=v1.6.2 --no-grafts --no-substitutes updating checkout of 'https://github.com/coin3d/soqt'... updating submodule 'build/general'... updating submodule 'cpack.d'... updating submodule 'data'... updating submodule 'src/Inventor/Qt/common'... retrieved commit 17364833049d3855f5e9e0f7908eb5ba08209318 /gnu/store/xjklc67c6bnmwjpryyx9b639vrhx2hjf-soqt-1.6.2 george@lucretius ~ [env]$ guix build python-pivy --with-git-url=python-pivy=https://github.com/coin3d/pivy \ > --with-commit=python-pivy=0.6.8 --with-input=soqt=soqt@1.6.2 --no-grafts --no-substitutes guix build: error: soqt: package not found for version 1.6.2 Probably this errors because soqt is not installed and/or in a channel? But as expected I can't install soqt 1.6.2 in this current shell container. Is there an ad hoc way to build variants using the results of previous builds in the same container? Or perhaps I need to do this in a different way? Thanks for any help. George