From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cOuHMO2xkV9iaQAA0tVLHw (envelope-from ) for ; Thu, 22 Oct 2020 16:23:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id pY7PKu2xkV8DOgAAB5/wlQ (envelope-from ) for ; Thu, 22 Oct 2020 16:23:09 +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 3250A94014A for ; Thu, 22 Oct 2020 16:23:09 +0000 (UTC) Received: from localhost ([::1]:46656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdMp-0007yQ-F0 for larch@yhetil.org; Thu, 22 Oct 2020 12:23:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVdMi-0007yD-4i for help-guix@gnu.org; Thu, 22 Oct 2020 12:23:00 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:46813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVdMg-0004C1-MA for help-guix@gnu.org; Thu, 22 Oct 2020 12:22:59 -0400 Received: by mail-qt1-x831.google.com with SMTP id r8so1488997qtp.13 for ; Thu, 22 Oct 2020 09:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yb6T5d2VhTE3GW/Aoy661hE5m7hl9SDiDIURskzrt5o=; b=LSy43vAtGTIrzms7XYdIkmWokvBrqvYQG+buuFoNzL+5toPa0FzBnk/IsLw6YVBlhv i74IAVnyjqNyeL30GQDCr1UxRWx9Jzq3PxUNsnzJITKvtw0S4vq6TdfGxwfEt8iv2Aee +ylCQYRs9jbyXSJcWHC67pfa6XGVoQ+fY8LkK7WOeciQIWL7GgfAKrVYmtk0LEkeYIbZ stWx2uH+YGg8jTmBuwsIWrSE9D7GgZCSAwhIOlWTWUARHPDEXWdoFfVCMCifl3x0zkQ8 tcq/C0ZjmfrmU5KsTfNKttndX/95Afp9XrQegWgBNfk6zAj2F5No05nciOS4ukuLTDnW 2EUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yb6T5d2VhTE3GW/Aoy661hE5m7hl9SDiDIURskzrt5o=; b=mc1cWb8rP9D/EdVZIAu5srKl6f2lSuDcoAOOotwqb7FEdEl4zuHlxVtDI3RzF85JnO 0luvdt3GlmtiH+QDMGUM96o3IpJsKVY2bq34coYt2yWT6xCy9JaMkxDFYgwpKSIS48E6 xDXYvOUiwMnsm6nPWeiiwt9XKE5klBFzVS+u5/W4jR/+3smr7osC/3qBFWLwGVjMK+uj VxKSvQHjRMMqIchE8k/RGVtLwPtx+Vf/5zaiLf7wKvgHhu8RkbuKjalq7HnpDz3uKM0Q 0PdcdDRvTEyqqNZH5Um9dL86AH6RVxFrgmIu4XZbhLCTVkvLNy3+AiewJdW9pVI71aH4 BXJw== X-Gm-Message-State: AOAM533M2J6Ijql91ay+xrnBUe2iZ7q3jUqzav11LmwrpKh916cvrB5x FQRxku25GI8kxuizv2373i0Vtr4itmDYmnUdUd+Xr8LXXTo= X-Google-Smtp-Source: ABdhPJxEC+V82rDfWeRXZg4STZgZNgRsfrBDoxD0fdiiiVtZA6r62EJEKC/Cul/6HwVKDkG63Fb7z1ZCZ2kFcbgPtv4= X-Received: by 2002:ac8:3663:: with SMTP id n32mr2893240qtb.354.1603383777683; Thu, 22 Oct 2020 09:22:57 -0700 (PDT) MIME-Version: 1.0 References: <20201022123929.6ca21e85@pantherx.org> In-Reply-To: <20201022123929.6ca21e85@pantherx.org> From: zimoun Date: Thu, 22 Oct 2020 18:22:46 +0200 Message-ID: Subject: Re: guix environment ad-hoc manifests To: Reza Alizadeh Majd Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x831.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=LSy43vAt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: IcjvYt/p5o5B Dear, On Thu, 22 Oct 2020 at 11:10, Reza Alizadeh Majd wrote: > working with guix environments, we can pass list of packages, using a > manifest file. we also can use --ad-hoc switch for additional packages > we need to add to the prepared environment. > > it would also be great to be able to pass list of ad-hoc packages, > using a manifest file, something like --ad-hoc-manifest switch. or > maybe there is such option already available that I missed. >From my understanding, as Ricardo said, the command: guix environment -m my-manifest.scm is equivalent to: guix environment --ad-hoc pkg1 pkg2 pkg3 And moreover, you can also do: guix environment -m my-manifest.scm --ad-hoc my-package What could be missing is to pass a manifest file and provide all the required packages used to build all the packages listed in the manifest. Other said, there is no equivalent at the manifest level of: guix environment pkg1 pkg2 pkg3 or even this: guix environment pkg1 pkg2 pkg3 --ad-hoc pkg4 pkg5 pkg6 To be clear, it is possible but the API is not straightforward. Is it what you mean? Hope that helps, simon