From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6H3NEkudkWXSTwEAkFu2QA (envelope-from ) for ; Sun, 31 Dec 2023 17:56:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WKlHDEudkWW5/wAA62LTzQ (envelope-from ) for ; Sun, 31 Dec 2023 17:56:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NY0ruzDR; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704041803; 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=/RwdNQOc4kaTmeF9qi1HdsKvq+utIeBVCpguY0YFfm0=; b=Br9ma9ZpOd8aVQpOPP0KyzU7pVvG6c24E7HZeVKm9PSPLVy8M3zwsjdCU+AtTscU0In3RB qEqWqfC4RWDn5VbFPfPZeqdA+qL+wDOJNMlKloEj5/sNj9D16gArBGcOo6rROAwnnfbN/+ qG0psYoR+P9Hph301lbq9mvysp5voe6e+j4wgr5AofJUljXgYZ93179me8r3TDF1hZom+o Ods9xtRFXOMV8EkPNwNwNz9mDVnnW19KqVRIGdNP/75HRGxxQE6zxTc0Pb1QZnsrCgBrsB r3pUarnaPvd2tJhXRvazPMIV3tE0IZ4OBH76uJp+VYOn8uIxZwyAA7+lcwAlZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NY0ruzDR; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704041803; a=rsa-sha256; cv=none; b=omr+P82oWvLdD3aENdBhKMPY1GZoiGuXZ+SaaylJ32RLwWJGMuVGNVo20iCxX6gv3/mdQe P7K3nRToJg9CVLq9mJgoJJ9FQn4cqW8du3n5eSAA69ZvHsqrQm3rwimZBCebIQnJXee6XG dcdPTb+FS9bruNF6n7YxBqmqi0plKplC4GwNjn7JNMsMWfyCpQP1enkQhVzunheFSTgOds TMJTpwRIr7K1SnUMMs5ltddGgjL4Cbxnay7kUt4Ri4ERW8FOOVrEi93rKMVgs/iRuIknlM xQ8Lg9ZFBwhVtPm0bbGJ8jTkd1kfvvnBfDQUA6EVO66Dz6cwHXOGlnOjRZTF6g== 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 1788A41F2E for ; Sun, 31 Dec 2023 17:56:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJz6k-0000SM-UV; Sun, 31 Dec 2023 11:56:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJz6j-0000SD-Pq for guix-devel@gnu.org; Sun, 31 Dec 2023 11:56:13 -0500 Received: from mail-oo1-xc30.google.com ([2607:f8b0:4864:20::c30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJz6d-0004lj-OF for guix-devel@gnu.org; Sun, 31 Dec 2023 11:56:13 -0500 Received: by mail-oo1-xc30.google.com with SMTP id 006d021491bc7-5958ba233c9so76170eaf.1 for ; Sun, 31 Dec 2023 08:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704041766; x=1704646566; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/RwdNQOc4kaTmeF9qi1HdsKvq+utIeBVCpguY0YFfm0=; b=NY0ruzDREXd4wOFAamqrgU2cBiqVzDoR7vrTZyafVX/KpKLHXWp6g1gXEkwReS5eWB 6DL9I1aaFiVoTmBclrm+CW4EeKbWlAbuxFr+tIOp3wm2iXvHslMDoczOIXz9gQ5fvdvR DLT6EI1uf5wISok5Svyw0af4CtWmx3MWxMIIGQWJoWDX2PwCU0Rbvkkw2DXYUZwu+IOs g0mVOGTH2F8vx6tc9MIu6yf/Pow8yXgeLZw6VCnukbaV9nUzgJuw/oP4Rrzzn7D3Ab9k sLXfJc++lS4i+ZoAISnB3Fqh3o77Y89pGi/ArNHIWDEo7yJd+T7p2BvARCEbSLRpHA7x Z11g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704041766; x=1704646566; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/RwdNQOc4kaTmeF9qi1HdsKvq+utIeBVCpguY0YFfm0=; b=MzfLeP5TQlkY59+2OzG9rYw/Qz0GKYOhH0QxzZuq54TKUxBPVTzzfWWpz2CkJzFRKK iNbhXg1FEo+pjzxyutfiWR9ARE/9q80D4LDJSq+LzMATVfomWNWG0uICxJdA2foccO9L jpjg6v2qAmOuavOtZAeYc7PyDW990lHBGW7RLbCiANmrqBzQGr0BRbFpra2jIb6lk5Ng jcjhHrGeKP7iy7ZyC5jgzHUgZ7ioLFNr6py37CdQkMzEqTy25sOZWNx+xPdlYOMJHO9h /URIGY1kmxBG5xkNkJ1WLDLaR2oT1d/QKytxiPoLAMbSgy4jCCfwuZlHEhrIA/IK89/y h4wg== X-Gm-Message-State: AOJu0YyKmAz42VBQNkU1MG1F673xR34e8515NTJdFLIh+68D427XMyIZ DHH8Z44Tv26r8J++4JGof2tNmCYu08KOBg== X-Google-Smtp-Source: AGHT+IFcTyXl4rRi2RawSx4E/dUrE+6NfanCp3Vq4Meb+7Mnf9p4JnKiMjlQH7N5zUQHqWySS13omQ== X-Received: by 2002:a05:620a:3725:b0:77f:97bd:fb31 with SMTP id de37-20020a05620a372500b0077f97bdfb31mr22723290qkb.63.1704041745431; Sun, 31 Dec 2023 08:55:45 -0800 (PST) Received: from hurd (dsl-10-141-187.b2b2c.ca. [72.10.141.187]) by smtp.gmail.com with ESMTPSA id bi5-20020a05620a318500b0077efb969151sm8128391qkb.59.2023.12.31.08.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Dec 2023 08:55:44 -0800 (PST) From: Maxim Cournoyer To: Apoorv Cc: guix-devel , Tobias Geerinckx-Rice , Ekaitz Zarraga Subject: Re: Suggestion for a guix shell feature. In-Reply-To: (Apoorv's message of "Sun, 31 Dec 2023 13:10:43 +0100 (CET)") References: <87edf4s7vw.fsf@gmail.com> Date: Sun, 31 Dec 2023 11:55:43 -0500 Message-ID: <87o7e6pb00.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::c30; envelope-from=maxim.cournoyer@gmail.com; helo=mail-oo1-xc30.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.43 X-Spam-Score: -7.43 X-Migadu-Queue-Id: 1788A41F2E X-TUID: 4zwWHQ6Y+5i2 Hi, Apoorv writes: > Sorry, this is my first time using some mailing list. > > I tried using `--container` and `--emulate-fhs` first it doesn't seem > to use `guix.scm` automatically I have to specify it using > `--file=guix.scm`. Second, the container is missing so much more stuff > like cargo for example. Yes, that's a somewhat surprising behavior designed to avoid bad surprises, in that if you start using arguments with 'guix shell', the 'do what I mean' magic is cancelled and you need to explicit each arguments. About cargo missing, what prevents you from adding rust:cargo to your guix.scm file? > This is my own project in Rust lang, I basically define `guix.scm` for > all my projects since I started using Guix. I guess this being rust everything is statically compiled, and the usual dynamic loader is not useful here (the RUNPATH baked in elf binaries is not used). -- Thanks, Maxim