From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eDrsFV5mXWBogAEAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 05:43:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2M7LD15mXWBmPAAAB5/wlQ (envelope-from ) for ; Fri, 26 Mar 2021 04:43:10 +0000 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 C4A5E1F555 for ; Fri, 26 Mar 2021 05:43:09 +0100 (CET) Received: from localhost ([::1]:36484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPeJQ-0002sX-Sf for larch@yhetil.org; Fri, 26 Mar 2021 00:43:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPeJH-0002sN-O6 for guix-devel@gnu.org; Fri, 26 Mar 2021 00:42:59 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPeJF-0007hq-WB for guix-devel@gnu.org; Fri, 26 Mar 2021 00:42:59 -0400 Received: by mail-wr1-x42d.google.com with SMTP id e18so4364282wrt.6 for ; Thu, 25 Mar 2021 21:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=VuwPsYLlYXi3w9DPg+OB8sTvCO24AiLSk6BXhVGYLhg=; b=K4zINmREmTmrgUKw9vWD1wWSAFT8XnoFcPBGIFB0P9Tx+++LsXxZkO6lFKbkKISVnW kojEyuKgfVQts8r8XVL7yiOaBJxg7ByQOiLw0gJ9O3GOT4cpsVijdaXjtVIsdYMQve5g ytaGb3wHy3Z/RjMQFJcT4BLhJzP4MXEQxXu7kP4bQdQICJQg2/W5VwhIFjtOzyH8LiHw fY1+D0INFVwFLHE4djqBbAABfmJxdwDZAjKyxRDQwm/uqD2cqjI2UhVQgU/YAqSLFflG 0FNgJw2xlzPluSJ6oto99LJ+oP4+MWzoGVJE1Zaxmeb+pq7atKNF8EegvKFtu0TBkali 5Xxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=VuwPsYLlYXi3w9DPg+OB8sTvCO24AiLSk6BXhVGYLhg=; b=Uq8UYWmX+mjMTI/iKQxn/pZbgXzfNDl0RrysCmrimc6zVAc994QScBYWAnfKV3trvu c542+HEfRvmI4N4fP3imtUxDhclY5L5zrXWTxMSx3H/cpGzvc0a94WPMBZrF9xXgJvG1 BZM9TGuiyz6n/BxPspe6bdV0q1hLg6gkgBIe1C1cb7SRTPzSZ6PhDElEiSxN+DWYoLrf 8BvIOb9pqR67dIZ6qFU/yIhH6JZOBd3EYt/OMpWfLcvC3DLxd9EVxj5qzhg8Opca5czO Nv8HUI33R9BPoATTiWe0EK3onaDj8rY9+GzN70OusF0Wu9e4V0Xg03jH9U/xQbtJrlSS E5rQ== X-Gm-Message-State: AOAM5301QKLNpDSWfmhEx/zq25f0YO/52baql2gUQ91JWmciVOFbYD+y T0ANYVk5ftEICpBia5kd5kfrycABGLc= X-Google-Smtp-Source: ABdhPJxM/egxGzqpmcpkXGAVtRUpLPUWH/8evf0bQKPymNYIW06S30XDKEqQDhOLAwZ7ZO3hlmiO5A== X-Received: by 2002:a5d:6dcc:: with SMTP id d12mr11977443wrz.136.1616733775944; Thu, 25 Mar 2021 21:42:55 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id r1sm11752150wrj.63.2021.03.25.21.42.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 21:42:55 -0700 (PDT) From: zimoun To: c4t0 , Guix Devel Subject: Re: guix import hackage fails with errors, and failed tests In-Reply-To: <87wntv597f.fsf@riseup.net> References: <87mtut7a6a.fsf@riseup.net> <874kh07317.fsf@riseup.net> <86o8f8b6ih.fsf@gmail.com> <87wntv597f.fsf@riseup.net> Date: Fri, 26 Mar 2021 05:37:06 +0100 Message-ID: <86czvmcyz1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42d.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616733790; 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: 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=VuwPsYLlYXi3w9DPg+OB8sTvCO24AiLSk6BXhVGYLhg=; b=Qw0oZBEQN+SBDnm+VVnWKNWoa4LCw+L2mFBJQd37KKMWtyIlq6GX0gth8j25UZOcWP38CL aGoE8aDzELHmkZKBNkxkgcrC+bzo4Hjs0uijbVCASUK8mTfrW0jvPzjgfNjCoOLo9xI7eC 2SCjUXmpWoPvWyOElxRCHjeaaGVrOTrzvKPe229OU2JobtPwIsSOqGIXpLU1sJYKJgl040 HVIiFtShNOo067nZ+2iN6osHVru08k4WN7N605a/e+sWbKZClGM4JRin9pf0T5CUYLnfWm e3VligjQYuYnMVtAhiEcCjhxqLLWQ988Ux9IuKDSkWGOnpuxx+y9Yz1RGdTzqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616733790; a=rsa-sha256; cv=none; b=pRqFCuXE990Zas9pBXKbQ55T4m+aLhYENkx3jQ6aUvpCrHaJppZ4OK7rmnogghhhVJMHOb kWGA1ZnH0w1pzvpxL6C3ljszuYhkrIq1YKO/SneBXnsq0uxeon6czES/TWy7Itzjqg7OvN s16uMEXogCvHl+ndKQdT8a6ALvBCuHY0pVFUvHYBM6tz9/0hd8lUX6EqdciDuyCwvv1+yj tFd7+QyMKmDHcE0quHPwieRRCC4Hna906U428R83OvFEbLuCKRQA7kqXxDaK0saK0ov8dP 5wQ5xMk9x9rKKlwmDiW2hDC8EIQ01qzUOdgGU5d64eBCTH8roNmI1Q4r/soy0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=K4zINmRE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=K4zINmRE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C4A5E1F555 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: HiwNBTqbfKZF Hi, On Thu, 25 Mar 2021 at 16:23, c4t0 wrote: > zimoun writes: >> The issue with this is that Guix would somehow depend on Haskell. And >> it would not happen: GHC is not bootstrappable, is huge, etc. > > I get the point of bootstrappable guix, and yes GHC is really huge, but > if you're importing a haskell package, doesn't make sense to require the > haskell ecosystem? you'll be having it installed anyways... > > I don't see a problem from the user pov, but I agree with you that is > bad to require a haskell package at testing time. Your mean from the Guix user using Haskell point of view where they already has this huge =E2=80=9Cguix size cabal-install=E2=80=9D. What abou= t the Guix users point of view who are not using Haskell? That=E2=80=99s why Guix doe= s not depend on per language tools for the importers. Without speaking that Guix runs on many architectures other than x86_64. > so... maybe a package that leverages the import system *and* the haskell > ecosystem to aid the haskell package mantainers? > > what would be a good idea to leverage the other packaging system tools > to import packages to guix with out making guix humongous? > > can we have a module with importers that augment the guix 'native' ones > with foreign tools? Well, Guix provides an extension mechanism, see GUIX_EXTENSIONS_PATH. Maybe it is the entry point for what you would like to have. >> I hope that this does not >> prevent you to contribute by adding ghc-events. :-) > > it won't XD > I manage to make a ghc-events.scm package with the hacky patch and > installs just fine in my profile. Cool! > I guess that I'll have to put all the libraries in haskell-xyz.scm and > threadscope (the culprit of this little adventure) in haskell-apps.scm, > right? Yes, I guess. Cheers, simon