From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id f6yELXmgYmDYmgAAgWs5BA (envelope-from ) for ; Tue, 30 Mar 2021 05:52:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id htBjJnmgYmAdFgAAbx9fmQ (envelope-from ) for ; Tue, 30 Mar 2021 03:52:25 +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 5DE891238E for ; Tue, 30 Mar 2021 05:52:25 +0200 (CEST) Received: from localhost ([::1]:36182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lR5QW-0005dI-82 for larch@yhetil.org; Mon, 29 Mar 2021 23:52:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lR5QN-0005d7-3r for guix-devel@gnu.org; Mon, 29 Mar 2021 23:52:15 -0400 Received: from mx1.riseup.net ([198.252.153.129]:51440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lR5QL-0006RR-1f for guix-devel@gnu.org; Mon, 29 Mar 2021 23:52:14 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4F8b9l4VbszDs70 for ; Mon, 29 Mar 2021 20:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1617076331; bh=09GK8WJnQz5EoW8Zo9zfw+rMXdOwzTDHwh4xVWnpxM0=; h=Date:From:To:Subject:From; b=KVZOAbtKGObsgwrXu77R2UdXeWriarRpBHiwz8trwIYdBYRFEMKFR7A1xLzSZLdvF xPDUsSKYERWkNJFKlcNCwZMJGl40yWZDNJ4SHXM72tD0ENHD2kHBo+hoi6m+1b7zZq YFaKpugZpFyQZCci+SJNMmlU6UtLIDd2v5tp3a6I= X-Riseup-User-ID: F2B419D6F3E52DA3BF172094FFAA2AEE7E2AE80F85F12AB17B6065C64C044167 Received: from localhost (bc9cea23.catv.pool.telekom.hu [188.156.234.35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by fews1.riseup.net (Postfix) with ESMTPSA id 4F8b9k6Y0Bz5vbG for ; Mon, 29 Mar 2021 20:52:10 -0700 (PDT) Date: Tue, 30 Mar 2021 05:43:56 +0200 From: raingloom To: "guix-devel@gnu.org" Subject: Utility for copying environments Message-ID: <20210330054356.20463e5b@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617076345; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=09GK8WJnQz5EoW8Zo9zfw+rMXdOwzTDHwh4xVWnpxM0=; b=kpagWdgarPu5LuIGg2BV5+O2NiIchyb+7YXFCtk0HQfGTN7Ic2JzLA5FnfKMPSs/bbEmzh /Gh1k3uECYhXinmt5U2pt7acYRK964lXiKkN0AvuM+okV3f61Mjqsw26KE8ITew2L7Tt9X QZQe1SRIDxTS7k1QUsf+i8XJN8Fk6yc1/Pk48AJH6J1QM0RNtUU0IVHlUqG0Vuhnu9Eb2m tO8iaarOunciD7p3qVgxxpkVd3GuYFUtIzjfkQNd576NFmzF4ugQO2GoWkNw5zyDh1ET+a Dtd7GbBpcko6uUzcDtvXpjefLDfEhTSL/ksPwyNxmFrak6Nn768sNwcEmhngkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617076345; a=rsa-sha256; cv=none; b=Oif473D1y/XjPzsiM/v4Iwj6bc1cGeiOAUzJOemx1b+d0UMxIlZ3f43Xsq0xpCUjt3q/fz 6llfK6nIvHCFZtWCCAH/Rrp22021bJJu8y6rVtV2IyUqehoo1cKSKPJ7uUUFO+2ktoeV6l 0Q9gclMe4B8I3IC52/lsjWvLujoYHmG0xvU9K9zVJfRywf6sSLks+5ffXYm8gKzqeKztwh w9CurmjxF87+yGXlo/Zj78bEMkFvaQA1p7nESpv8GuAcbFWQYrgRHRAyZ1DkoaD8waByDd tkxfI8JWsj/58gQmNrVPonx27PzGlep9dPJW6T5Vhnns3GumFXlBR7K2V3pJ8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=KVZOAbtK; dmarc=pass (policy=none) header.from=riseup.net; 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-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=KVZOAbtK; dmarc=pass (policy=none) header.from=riseup.net; 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-Migadu-Queue-Id: 5DE891238E X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: Rdj8HWfdcQME Tale as old as time: I was fed up with some software and instead of patching it I created a workaround. But I think it could be genuinely useful for some other folks too. My main use case is gonna be opening new kakoune windows, but it should be useful more generally as well. https://git.sr.ht/~raingloom/with-env Patches and feedback are welcome, as usual. ps.: please forgive my typos. i really should not have stayed awake to finish this.