From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mBqqKoWa7WS30QAAG6o9tA:P1 (envelope-from ) for ; Tue, 29 Aug 2023 09:13:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mBqqKoWa7WS30QAAG6o9tA (envelope-from ) for ; Tue, 29 Aug 2023 09:13:09 +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 40F3355029 for ; Tue, 29 Aug 2023 09:13:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=Yba3HYAq; 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=pass (policy=none) header.from=6xq.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693293189; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wFFZULnsn6raZo7gFGDfq/F4QoJ1RcSjXs5hj8s41v8=; b=I5D2+pnOszpTzHfl0vNR/RSC/8SK+fUIjfRWjzMioY5WEe1ZnXUlhtN9I21fLteNAFvNxG H9A9iJ0omzYlm1Z8L4iAeu4yxDG3zlyWuY6aCG6url3yv0bbKCyCeq7fviNZ5/hxRYaDxU USNhoHVxg5ah3ZHxk1tj8dWEnxY4AR7v01Ifm/oq5odPVCXDe1pKhJEnhjiOweXham2hRT mAfURhMvYqrIkhMDWHNABmcvPm0tZxH5bWqAQg8Tu31nFxqK6wS/cS26tmDJ45nOvXY5dt pkd7sRbQEmmDNXmuUzvhbdcxQqG9dldKSep3WMocV2465SzdsbSZSWkgq7LAuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=Yba3HYAq; 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=pass (policy=none) header.from=6xq.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693293189; a=rsa-sha256; cv=none; b=TatrJRW5iURmdmV7TbaH/VQvfzbmrLlBirML+7ztCMFfuvxhnIL1FXjgnXHNIpTPF3De0J OPqZFjytk8BQXZTKjAG2dweRyq4iS19fcycNtLuQCxZLDNY189Y6mGzPSCpy17/UfBGyE2 +hDdXuy/mrhLsBZ5tZik+4r/g3HNn0F974Y20tQJBd//FMVUxnxrU2p+PGo61UxUW+iSOh aKDSp47n8+Rpn2+vpOQ6LQGqNj2aNvieM+5pJ1KgQeHb06i4zQWhJgLIynMOnPLhio55je kqWp2/7fgTR+hI1GpN4EShbvQ9/MXO2lj0CeUS3kxRhhGBGvgDZUfNtA/QbLhw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qasts-0000ry-Gu; Tue, 29 Aug 2023 03:12:32 -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 1qastq-0000rh-EC for help-guix@gnu.org; Tue, 29 Aug 2023 03:12:30 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qastm-0007ym-Gj for help-guix@gnu.org; Tue, 29 Aug 2023 03:12:30 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4RZdsR6hzDz9skn; Tue, 29 Aug 2023 09:12:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1693293131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wFFZULnsn6raZo7gFGDfq/F4QoJ1RcSjXs5hj8s41v8=; b=Yba3HYAqFxHllNFfh12tKAr8e8Tlj0RGQ2GimXjzCULOV4KcPt1uMTp92WcXvHt8mjwnLE ttgqKWH0kU6/jnaklFPVJJW4BeD2J7u4PfeCFSpY8OCfdHEccyaHOckDEzCrgVlyke2WLz 50gr2Aoolt4mYgKmxm0Cp453X1Jb7jO4zmwlt7TPOzSCyPgRZraAksR7TOwNgpZv0/WOZk Gg95I88/3ieryGR7NU4ofqNlwEow3yot4xTrBenFstzO4mFXHEK6jyZAXvEDn25NIdBCSu c6/srZLv6YLxfTSvw6ZbxROLslrgpuFdb9tzE8oa9PAG/vy9Ldnu1s4m1xPQig== Date: Tue, 29 Aug 2023 09:12:09 +0200 From: Lars-Dominik Braun To: Simon Tournier Cc: Saku Laesvuori , help-guix@gnu.org Subject: Re: GHC packages' inputs leak in guix shell Message-ID: References: <20230815065150.5joaxyts646mnpex@X-kone> <86r0nsztxu.fsf@gmail.com> <20230824161653.vha6sk7ot34nixpe@X-kone> <874jkjqtsx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874jkjqtsx.fsf@gmail.com> Received-SPF: pass client-ip=80.241.56.161; envelope-from=lars@6xq.net; helo=mout-p-103.mailbox.org 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, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.93 X-Spam-Score: -6.93 X-Migadu-Queue-Id: 40F3355029 X-TUID: SXGSiTz22OZy Hi Simon, > Right? Well, I do not know if it is possible. I guess it is because of > this file: > > --8<---------------cut here---------------start------------->8--- > $ find $(guix build ghc-esqueleto) -type f -print | grep base64 > /gnu/store/zqax59v1v537h26g0kypka6klaaahnqf-ghc-esqueleto-3.5.8.1/lib/ghc-9.2.5/ghc-esqueleto-3.5.8.1.conf.d/base64-bytestring-1.2.1.0-CQYLTs5ShsEFl2lwe4hRrI.conf > --8<---------------cut here---------------end--------------->8--- > > Lars, WDYT? your analysis is correct, but due to the nature of how Haskell builds work we cannot remove that file (because anything depending on ghc-esqueleto would not build any more) or relocate it to a different output (because that would cause a cycle). I can’t check right now, but I’m guessing a plain `cabal install` would also add base64-bytestring to GHC’s visible packages? Cheers, Lars