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 4AEOMwOximVjtQAAkFu2QA (envelope-from ) for ; Tue, 26 Dec 2023 11:54:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wNEmLgOximWlEQEA62LTzQ (envelope-from ) for ; Tue, 26 Dec 2023 11:54:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703588099; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=wjTLyvtLkd0nihX9RqVTfi97KikOQ7/4ZLDyDfg6yAU=; b=HDy+HEcaAtFEDF22uZ7tntZ/uYvBwAhLBtygtAn9t+H5V2EDWmabZWxggxDRYpbTrjVeAP Vxl06ykI43oRQwJwZjz61ZE7DPgGgogoSKLmUUAbSK4ZK7Z2xvlK8VzSAMvqK+FoRQYGnn cBVYWIo9UlHSICb3qPDlCOhFB838IrARICp1NwH4cRCQtSnuOKOZn2w1NWoDZKIoLELqT3 2+jjo3lRY8ze1hsTFs0m5ySl8nWqAAQlcghMA84o9GjlJmwc5f3aSwBP/Ju7c+hz0aJpXQ aHZvoq6Esd4kbM/j4Hw0UAmGp/pgCfTrNymvRegstnZmmJ614lxiT7FtUtBPYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703588099; a=rsa-sha256; cv=none; b=aNrinDUyz1XRYrgQgurbob1McfaLcL9MJyOwkKxBeS6GdzIi0yhld6JbpCiZbr+UEj0rKG LnYfSHH7ETlG2HqYEuikz9RdGeTCY+F7J5yaLnZ/hxWaXCS+jAqBHzL8I6VGfwoWMimJqU Cw4ufmMkEvEt2flnNZQ0AYmkAtorMF7DvzRBTHFSzndAl/AVEkaSvZ0dAzvQInHbhzMfSg ySmCielKRN3FhGb7Y7sYJNK/+Q5eaKPfk5lK2mc0Uoyfox10PhGdagPIe3szohCRZ1n7XV j8/NiFLds2Q9XSB5g2FoyLWTZZSSOk8athzMiniP+MfhCtg1Ru+anJw+ivcV9w== 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 49F5F66DB2 for ; Tue, 26 Dec 2023 11:54:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rI54y-0000hg-3R; Tue, 26 Dec 2023 05:54:32 -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 1rI54w-0000hW-Cw for help-guix@gnu.org; Tue, 26 Dec 2023 05:54:30 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48] helo=ux-2s-mailproxy.inf.h-brs.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rI54u-0004ZB-Bz for help-guix@gnu.org; Tue, 26 Dec 2023 05:54:30 -0500 Received: from gyps.h-brs.de (i5C7515BA.versanet.de [92.117.21.186]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 3BQAsN3s019890 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 26 Dec 2023 11:54:24 +0100 User-agent: mu4e 1.10.8; emacs 29.1 From: Alexander Asteroth To: help-guix@gnu.org Subject: why does '-e' work differently in guix shell and guix package? Date: Tue, 26 Dec 2023 11:48:44 +0100 Message-ID: <878r5h5j4w.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS Received-SPF: pass client-ip=194.95.66.48; envelope-from=alexander.asteroth@h-brs.de; helo=ux-2s-mailproxy.inf.h-brs.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.15 X-Spam-Score: -5.15 X-Migadu-Queue-Id: 49F5F66DB2 X-Migadu-Scanner: mx10.migadu.com X-TUID: 1QvG7Umu8/Pt When I do ``` $ guix shell --network --container --emulate-fhs bash coreutils -e '(list (@@ (gnu packages commencement) gcc) "lib")' ``` I get a shell, that has `libstdc++.so.6` in `/lib`. But when I do ``` $ guix package -e '(list (@@ (gnu packages commencement) gcc) "lib")' guix package: error: expression "(list (@@ (gnu packages commencement) gcc) \"lib\")" does not evaluate to a package ``` I get an error. Why is that? Cheers Alex PS: reason I'm trying that is, that the recent pytorch-version installed via pip complains about not finding libstdc++ which is in the lib output of the superseeded gcc package and I thought this might resolve my problem.