From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ULTtDb12/144MQAA0tVLHw (envelope-from ) for ; Fri, 03 Jul 2020 18:19:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OAqlCb12/16cRQAAbx9fmQ (envelope-from ) for ; Fri, 03 Jul 2020 18:19:41 +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 E774594030A for ; Fri, 3 Jul 2020 18:19:40 +0000 (UTC) Received: from localhost ([::1]:56332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrQHj-0007W7-VJ for larch@yhetil.org; Fri, 03 Jul 2020 14:19:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrQHb-0007Vz-8n for guix-devel@gnu.org; Fri, 03 Jul 2020 14:19:31 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:53493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrQHZ-0000NZ-JM; Fri, 03 Jul 2020 14:19:30 -0400 Received: by mail-wm1-x32e.google.com with SMTP id j18so32841896wmi.3; Fri, 03 Jul 2020 11:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=FZkRu7eG2BGVKZ3BWNi4TwHfEFwJjEWGD8V5w3NX6IM=; b=Vy5tuDsfS94G42OjAeiyCCnXmiqxYY5+WmcfUrSeZ+rpVVF1U8jIEq1nCUGZmf33Pa /5e8vJx/Qewdtr0h7Z3q93dL+fr/et3ZqrguUafoNoELFywDmwhKbMBeP95jgGPOmpBf UWc3VAoSeGkImRbGvtlPXYjFmQWfYs0fNixKFV9qPRHg8ciG7s43kWysoRrGEDKMSaW4 ZbHjTa6Tk/rHodt2hSJOhTbxS+0bfEJMyJxb3vbVfSYNjCW1eoHlBY419AbYlEppFuJV vyAGeZzyuEDKMb8Doc6Avfn96cfElDQH86qEqFn9qTuBdGV3R2cTjTzhL0TT+g/NRp6L C73A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=FZkRu7eG2BGVKZ3BWNi4TwHfEFwJjEWGD8V5w3NX6IM=; b=ukxwDLiZSfo+uOx/vXNfn2X4KFSmUH3fWm2whhWi0It32L+D8idiqZv/ajg/CQIvem AyvkWyfnMs8aX0KH6A/lISwMhlvrs36gdq2Yp3hPnL653qPn0rXA7eL0YKJEWIV/Er8g vhwabj7RN4D/HFBjnQLzxl/QWTaFpkgPJI/ImoxGOI6gkV+GmNtzYVDfgy3WXCcDZ0S5 fS8LqxMdx4gwJVTP3vN0oi7O4kLrKkcDjlUBUcJq76NX+kNKV97ebfvGNXvJfCiXWxi2 Kg+F5ORU10wZartF2jFScPuEm3YctD64eJiRLsyj3fw5quzlT/AoMKlMZ7gDXyRWpFfB dWug== X-Gm-Message-State: AOAM532bMzWohciOtSMPfSy6zQQ2UUSNJJarHS9aFj3CKA4R79skZE/s xmSxyeEs7txtTjMV26PLws2QGALD75Q= X-Google-Smtp-Source: ABdhPJxgm7rSnojjPMnl77YeJvi3AwV5ya0wHIV+9wOCpFFDs7xW48zsA1rk8PiylZGjYffX3eMF3A== X-Received: by 2002:a7b:ca43:: with SMTP id m3mr30642816wml.120.1593800366945; Fri, 03 Jul 2020 11:19:26 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z10sm9646815wrm.21.2020.07.03.11.19.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 11:19:26 -0700 (PDT) From: zimoun To: Paul Garlick , simon tournier , guix-devel@gnu.org, guix-hpc@gnu.org Subject: Re: Reproducible Research Hackathon: Friday, July 3rd In-Reply-To: <662bb1846a48ec78c594d594f14a76aee621ab9e.camel@tourbillion-technology.com> References: <86fta8cyna.fsf@gmail.com> <662bb1846a48ec78c594d594f14a76aee621ab9e.camel@tourbillion-technology.com> Date: Fri, 03 Jul 2020 20:19:24 +0200 Message-ID: <86k0zktqab.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32e.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=_AUTOLEARN 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Vy5tuDsf; 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: fsrlCS9fmt1s Dear Pauk, On Fri, 03 Jul 2020 at 18:56, Paul Garlick wrote: > One outstanding puzzle for me is to figure out how to test a package > definition in a new channel. For example, I have cloned the guix-past > repository and started to add a new package. However, what is the best > workflow to attempt a build from the channel? Do you add the channel > to the git checkout of guix? I do not know if it is the best but I do: guix build -L path/to/clone the-package guix install -L path/to/clone the-package -p /tmp/test /tmp/test/bin/the-package Otherwise, I put in a channels.scm file something like: --8<---------------cut here---------------start------------->8--- (list (channel (name 'kikoo) (url "file:////home/simon/path/to/clone") (branch "master")) (channel (name 'guix) ; avoid to recompute heavy derivations and build modules (url "https://git.savannah.gnu.org/git/guix.git") (commit "000c7a0f70248ccf9dc774ef23da3e26d142c610")) --8<---------------cut here---------------end--------------->8--- where commit is something I already have in /gnu/store, then: guix pull -C channels.scm -p /tmp/loc /tmp/loc/bin/guix install foo -p /tmp/test but it is less convenient. All the best, simon