From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MFdXHKFW7mRodwAAG6o9tA:P1 (envelope-from ) for ; Tue, 29 Aug 2023 22:35:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MFdXHKFW7mRodwAAG6o9tA (envelope-from ) for ; Tue, 29 Aug 2023 22:35:45 +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 2044E4798B for ; Tue, 29 Aug 2023 22:35:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=TE0OUkmH; dmarc=pass (policy=reject) header.from=laesvuori.fi; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693341345; a=rsa-sha256; cv=none; b=M6U4Deq2X/ItC1kBlos+fQ19XDqWtyedeHUvMxEnywJjN6/P/5itPnJmhdaltUom93N9OE 8t7MIt/9sEKWjB5+jY7BkWxsYrpFSz0PfPXy8VMRCYKLbPImM3hC7UKx1BxFBLG8DnynAi Ky91OUaDa5QuFvEYH8yugnGsN30vMn7sovuCTJcieFJi+s05UASL4kxXfvluLUvhJYq9MQ j59vbiHOkDIofaysUSWE9vkRDlTSI00c4iBnEQ3Ax5qfHSXscdEDStlHJbrheY4h3d+7j5 Mh4KJPai17GLOhBLdT1iGenXDOT1U0HY2yCFlAOZtiNsVIfBCKUOFswOieVqzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=TE0OUkmH; dmarc=pass (policy=reject) header.from=laesvuori.fi; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693341345; 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=7qkBndbuYmdCM0PzDWtKBM3owobOX/c/cyahwfS2OHc=; b=jbuCMUgplqsNejr9p79YZE8jMinZ3w5VTXvPJOhLbkGLGZEONXNQ9NjayBLxfH8NpieLUL QSb0lgZ6paM0MsxzYDvft+IqPxibs/3+fAZnPCZJxS17LuoSF2DEPxjvtQMXj6y9ixYH/a x/hkR7BRwYsUMl++H9uUvzCaU1jaBITE9shjE4jDSYEphkFsq+tpCnY4zgiuiZlNq9UhhJ TBHLdmPQYmA74FhZI9FTDgLBxPTU4WbvYhi4xd3bBeY/mKbM6fwR4fH+FV9QJ+U4mqbkSP AXB4NqNERLYlJuPyhV1xWadb6TgfaNgGGStjJuJlXzAfrBtQ/zhK9zZUH4LmDA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qb5Qq-0005s2-R3; Tue, 29 Aug 2023 16:35:24 -0400 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 1qb5Mb-0005DC-Vy for help-guix@gnu.org; Tue, 29 Aug 2023 16:31:02 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qb5MY-0004uR-Mj for help-guix@gnu.org; Tue, 29 Aug 2023 16:31:00 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id DDA6B3400DE; Tue, 29 Aug 2023 22:31:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1693341075; bh=kryWxU58swfHLSe3B1SFlxRRFlEJ/75Swy4TIBW+4cs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=TE0OUkmHiyCigZk0SHTaa3iaPlxw6MKd1MhRTav+fG9X32spMwHCUG6Y1eU7y59W5 UcQKrK36KYsRpOOTC7Hp/31UmxV8yicYDSfaUkbhiw5JK38ac/HB9gvqUHej/h8Zfv Epfrz/s9NV07bmvR266GnLMBfUr4v3zWoBLRdJX0= Date: Tue, 29 Aug 2023 23:30:50 +0300 From: Saku Laesvuori To: Lars-Dominik Braun Cc: Simon Tournier , help-guix@gnu.org Subject: Re: GHC packages' inputs leak in guix shell Message-ID: <20230829203050.wxtdnalegrwrphrb@X-kone> References: <20230815065150.5joaxyts646mnpex@X-kone> <86r0nsztxu.fsf@gmail.com> <20230824161653.vha6sk7ot34nixpe@X-kone> <874jkjqtsx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ncnzk7tycky457zd" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi 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, SPF_HELO_PASS=-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.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2044E4798B X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -11.36 X-Spam-Score: -11.36 X-TUID: xUSLKqY3gkmx --ncnzk7tycky457zd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I can=E2=80=99t check right now, but I=E2=80=99m guessing a plain `cabal = install` > would also add base64-bytestring to GHC=E2=80=99s visible packages? I tested with cabal-install and it somehow manages to hide the haskell packages that are installed as dependencies. ``` $ guix shell -CN cabal-install coreutils zlib -D ghc-old-time ## Building old-time failed so I added it's inputs. ## Zlib is also required for building the dependency chain. $ cabal update $ env -u GHC_PACKAGE_PATH cabal install --lib esqueleto $ ghci =EF=AC=A6 import Database.Esqueleto.Experimental -- This works, so the package from cabal-install is visible =EF=AC=A6 import Data.ByteString.Base64.URL.Lazy : error: Could not load module `Data.ByteString.Base64.URL.Lazy' It is a member of the hidden package `base64-bytestring-1.2.1.0'. You can run `:set -package base64-bytestring' to expose it. (Note: this unloads all the modules in the current scope.) ``` --ncnzk7tycky457zd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmTuVXoACgkQJX0oSiod OjJrAhAAkMbH0KubDamHw8w6Sx1u3riJaKGejru6fmeNUZhe6EfNwiLRws7/MP0t T2T7B/YlW/VhulOYkhJXcD4YWlPgjgfILHHyBtbnZCjQ3kXzCPwdGy/iV0VdOYMY 5A+Ebr5qH8oD3d6/bpt0OGBClHk3NgNv3yx2LOCt6QNIdGYItZ5EV0YkK5YvOsaa X56tEi9e146VDv0P18HjL5q9CqIil1GF9GZV5IchGFj5bEo3XELzdu1wV/lZikfk Kh8i4ESL/qvWGDgEFs9nX9JbWxs/pJi6zrqeZrxK7BLPUQePMbz3YvXOWzvklYV8 G1fQemzIhBQFRyRd2kAnQZb4MNZK/g0idroaj0eQ75jSnyp81kf1sAeeRBsGpPu+ LdBiXlivyuA/EaEuHvBpPhMTKdTi/gs+LewXU3jl/x8BILBgDSfOpHS/MfjshuXw rAvwsOILlSrhbFUujiDFyHq5pnx/hs7WDo+UWhLzreWyFDA5zTLcRra3uV8OEMG/ XnzhyNT2AupY+grmuepwdMV5dqy4rPiQ01m15hATUaEzriUi0VRQYWAKFtd/2/h7 7RgiyKQV2sHjcR13IWz+wWSpKxO9Xgu6HcThPXVc+aGzJJfh39JK/Rz+scnhFOJT W8ZjHPdWYS2n3OujIpuMVy/r8PHYwTy4RE8Ct51jD7eEtPasWak= =5drz -----END PGP SIGNATURE----- --ncnzk7tycky457zd--