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 9mzUDSN4CWBgLQAA0tVLHw (envelope-from ) for ; Thu, 21 Jan 2021 12:48:35 +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 GPZHCSN4CWDtSQAAB5/wlQ (envelope-from ) for ; Thu, 21 Jan 2021 12:48:35 +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 80AA79403E6 for ; Thu, 21 Jan 2021 12:48:31 +0000 (UTC) Received: from localhost ([::1]:36218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2ZO0-0003G9-VB for larch@yhetil.org; Thu, 21 Jan 2021 07:48:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2ZIX-0000ck-VZ for help-guix@gnu.org; Thu, 21 Jan 2021 07:42:49 -0500 Received: from mx1.dismail.de ([78.46.223.134]:14569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2ZIU-0000Sa-UF for help-guix@gnu.org; Thu, 21 Jan 2021 07:42:49 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2284515a for ; Thu, 21 Jan 2021 13:42:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=20190914; bh=QlEAU5xIUj09cJsEz6vrBjvj1yKjz6qKMk Bk6PeBFls=; b=MC7He71GZb4BJ+DPQygWDqDNtnm7i4ZpLsHVNTry0R/uy5QcuC IQwDzsoOue/FaXyEAsQm9c9gcQYB17V4UsUU4kc3oOeW188kh83mWehw/pqRbWGF Ovw/LGOIdOsRpgc3c/t+NGg5d2Cf8Spe2yU/qKLoRTvhfqxVK5i9u910LZ42pJ+h coLZTNbZ1t3wZrgZpcswt3kP+POrdPQ5caramnId9lC6by/b/0BP28neFi+2Hvx0 QJri/ROiIhzgq1BPXMypWk9SAukLpAwASVh+XeSEdXZNOCJqwzZaa5RAA34mbsBR 4UNBB7UK1AESxm8/MMp4CnA4EsMjyFa5aGuA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 02f8182a for ; Thu, 21 Jan 2021 13:42:42 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 0b4a263d for ; Thu, 21 Jan 2021 13:42:42 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d969f425 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 21 Jan 2021 13:42:41 +0100 (CET) From: Joshua Branson To: "jgart" Subject: Re: Guix Environment Best Practices: Shell Hooks, Creating directories, and More References: <05d44060a25f7de72cba88553153a332@dismail.de> Mail-Followup-To: "jgart" , help-guix@gnu.org Date: Thu, 21 Jan 2021 07:42:39 -0500 In-Reply-To: <05d44060a25f7de72cba88553153a332@dismail.de> (jgart@dismail.de's message of "Wed, 20 Jan 2021 00:10:28 +0000") Message-ID: <874kja4g1s.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=MC7He71G; dmarc=pass (policy=reject) header.from=dismail.de; 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-Migadu-Queue-Id: 80AA79403E6 X-Spam-Score: -3.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: xNQpeKcek3Xb I believe in guix land this is best achieved with #+BEGIN_SRC guix environment -m environment.scm #+END_SRC Assuming the project that you are working on has such an "environment.scm" file. guile-haunt has "package.scm" file that does something like this: https://github.com/guildhall/guile-haunt/blob/master/package.scm Relevant blog posts: https://dthompson.us/reproducible-development-environments-with-gnu-guix.html https://dthompson.us/ruby-on-guix.html -- Joshua Branson (joshuaBPMan in #guix) Sent from Emacs and Gnus https://gnucode.me https://video.hardlimit.com/accounts/joshua_branson/video-channels https://propernaming.org "You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar