From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YGcdJSBXC2OKJwAAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 13:53:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4PIlJSBXC2PMYwEA9RJhRA (envelope-from ) for ; Sun, 28 Aug 2022 13:53:04 +0200 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 4F65E3D42D for ; Sun, 28 Aug 2022 13:53:04 +0200 (CEST) Received: from localhost ([::1]:38712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSGqd-00032x-AZ for larch@yhetil.org; Sun, 28 Aug 2022 07:53:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSGqL-00032m-OD for help-guix@gnu.org; Sun, 28 Aug 2022 07:52:45 -0400 Received: from mx1.riseup.net ([198.252.153.129]:58832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSGqJ-0005Qz-HN for help-guix@gnu.org; Sun, 28 Aug 2022 07:52:45 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4MFsPw3Zk3zDqJm; Sun, 28 Aug 2022 11:52:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1661687560; bh=77fLuOS+5X/SMCqms5y9B27MfITBIRgMFrw2XeV2Us8=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=aVVCwD+/spFjuw/ZGwLcRdXmf7ZOUDNs9V0zvnvcyJUcGaPI19+1CRyECbcvSbpc1 5xcO16fEb+zIhcGZAJ+H3fOFto9dWnLAFO5pwxsrd0E1rh97MKeP31yeL++jGyv8Sw lNvGkmt4LnWAMqp6IkLDEjjGY44G3YRmHxevwpWU= X-Riseup-User-ID: 2BD6BBFC08685380E3EC817B7AE5C85199CE3C036C291CC18A251B658A924E48 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4MFsPv2QGNz20SJ; Sun, 28 Aug 2022 11:52:34 +0000 (UTC) References: <20220827103401.GB11747@gac> <87k06twqrk.fsf@elephly.net> <20220827133836.GB31518@gac> From: Csepp To: "(" Cc: jgart , Ricardo Wurmus , help-guix@gnu.org Subject: Re: Am I doing it all wrong? Date: Sun, 28 Aug 2022 13:50:25 +0200 In-reply-to: Message-ID: <87y1v8r3ev.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain 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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661687584; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1uBGtpXN/lC26n/iEfUJJeiy/F252QdASkp0Ubld34A=; b=j8aYgyceypsUGQxFGO+iQVRVv/mk0ziSOuVgNatHuuhKcfgf93/J0m8Ik7vpCNXHytYn29 JkwbbBxu8/F8NKXXSziDW/oGaa8X4vJGayrj9e+JTHvjTL/bdSrWyuXA3hXpcnbHiQZqdN dSm/SWzgOOvQuD9v/3CxgKetMWreBpjXBw6/sTLFF0fwdry4NBqxs9UVyCvzXfI/CYEjQM YIU0jth5ddYHqNY/3zc5CArF728LCiMzDF3ZgCrRuMfux9hHVl9a+4zXV4o7mx+DiFDhu5 Y0OmYHNcf3v444CQ5tWjrWQIxrv9/Ro3FNEj4RI3JzYlthnrrQ5pvYGlvFek5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661687584; a=rsa-sha256; cv=none; b=DG/5wakHF1NbOlrr/v24WvNMrx3vETztTAVBuxtdHPuLYf8VsNJasDPsM3rpF/JK1lUOo1 WSgYIhyxBIDAOa3G0zwt4UL4QsgKqRaX4YjuKdX8E2A0ZO8DWVR+NWumEmcDRRd7OuSiRt a0UVleLmEsBOKA9fJXW2jZ8CQ1mE+QmpDKf/nBCQtqdVDvFmFQLGpJll1fV6SvpO1qOIld P3BstJuepRrvil2H1OHkrCj6al5V8SxrRMVEy15uVY7tDGSIUutXagQFPWMBW76CyF8m8h SXX8ivH8SuOMcntZfEXpvJbxnhxAZKCeWS1El2WTaT3hzLkoxcTUtfmep4xQNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="aVVCwD+/"; dmarc=pass (policy=none) header.from=riseup.net; 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" X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="aVVCwD+/"; dmarc=pass (policy=none) header.from=riseup.net; 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" X-Migadu-Queue-Id: 4F65E3D42D X-Spam-Score: -1.39 X-Migadu-Scanner: scn1.migadu.com X-TUID: rmRHlpuhNpaE "(" writes: > On Sat Aug 27, 2022 at 9:56 PM BST, ( wrote: >> guix shell -D guix -- sh <> ./bootstrap && ./configure --localstatedir=/var && make -j$(nproc) >> EOF > > You could wrap it in a sh function: > > gsh() { > guix shell $@ -- sh > } > > gsh -D guix < ./bootstrap && ./configure --localstatedir=/var && make -j$(nproc) > EOF > > -- ( Did you test that one? Because I'm pretty sure it won't work, you aren't passing the heredoc file descriptor to sh but guix shell. Also, that should probably be "$@", just in case. Because Bash is garbage. :)