From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EP+mCPaHTWNDpQAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 18:51:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CE6nB/aHTWNS4wAAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 18:51:02 +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 E722032AA0 for ; Mon, 17 Oct 2022 18:51:01 +0200 (CEST) Received: from localhost ([::1]:58526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okSnM-00063q-1F for larch@yhetil.org; Mon, 17 Oct 2022 12:16:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okQFG-0001tG-7u for help-guix@gnu.org; Mon, 17 Oct 2022 09:33:37 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:38427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okQFE-0004Cm-FG for help-guix@gnu.org; Mon, 17 Oct 2022 09:33:29 -0400 Received: by mail-pg1-x52c.google.com with SMTP id 129so10458766pgc.5 for ; Mon, 17 Oct 2022 06:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=bG8zYpI5AEwF9W+E3bxD22Jl0QnOiAWzAd07YWXPyXY=; b=YYwpshtugSATbP9cudDDv1BVmvrDSzbRCUYNuFOP2yY1h1nYDiCdoB8jP1PRU6RS3s aczrrzI5og8Oz1A4jNZ0GBK6ODdyNCcDfi1OE7vP3LBegYGNsWxPa4zZXhOQEZDD+Kkx C2dvkXyp1hR6R6Rc0yBDNdlI8hQHf9CLyV9UPmITzPyLYrFySJHhNVw4PQ+6gLaGIecd uuUnPqv0YbxWWiTZWXZsqmmlzRPx9pRVN/UcwuZZK1KPyxKDpVKR2QQd0nRqsXZWK7OW aDrUKsDFR+cwWil/mpB21JnMXGWtPlGXpSJtwcjJ8HPH7qw3y8xpLp0WHOcktwNqYZdO W2TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bG8zYpI5AEwF9W+E3bxD22Jl0QnOiAWzAd07YWXPyXY=; b=YJpdqkw3Dt0TBlZ8FC4QHi1QsZOvUXqYZ6YWtr/BkPvMH5WKWYaemHV2tpcW1XDqCm dQmPwW+hJvlsPdhMsVm8PliX3HQQzft3aUjdX0r/Y0GZdGwFzzjqzhYiyf5LE17g5Sf9 lVoYu+ov61sIH5sXNaOeU/hg9j5YI1wVrJ15Ce0tiaS/VphAThw3wn2YK5liGN7Zu82z Pm/4PO9/mLPe3JH5Q63pphBMG7Hv/+uaBHUMtIntMBT4LuvbpflvsTiyUtgveVmz9Gxd CMCC1oUplMZT/HQF7DNSpxw9pu7I5MNkduv1J8YHvpBHhRuzisyAbWmdaCjU72gAJV5V J+7g== X-Gm-Message-State: ACrzQf1vyVYEdVf7vxl+KfDVverMLEQExz11phUB++jQpgzwjB0r+CTW sGNcqhxJZlNW9CZFvA1jfZs4L1qiZJA9O7+KRbGV4dA9oA== X-Google-Smtp-Source: AMsMyM4r7M3N/c9nOVguV50O1uinj6oFs4s8r1cJJ4Kx5K5hUtvsPA2sUpeyMc+E3gPlTmJw+y9OCYo9vP402pJ7Xao= X-Received: by 2002:a05:6a00:d72:b0:562:86e9:ae55 with SMTP id n50-20020a056a000d7200b0056286e9ae55mr12619927pfv.13.1666013596711; Mon, 17 Oct 2022 06:33:16 -0700 (PDT) MIME-Version: 1.0 From: Justin Garcia Date: Mon, 17 Oct 2022 21:32:40 +0800 Message-ID: Subject: Packaging GHC 9.2.4 -- with no prior experience To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=purefunctor@gmail.com; helo=mail-pg1-x52c.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, HTML_MESSAGE=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-Mailman-Approved-At: Mon, 17 Oct 2022 12:15:41 -0400 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666025461; 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:dkim-signature; bh=b8qTlbHm4Odm4Rq6sRH+uuVgX32aRzA3Ig/ocIf+28c=; b=eQfSRFpVPy4uAGhM6+F6HWqT648DhzIDmTvHArBikFT1lfUjaNMVDGLvgWfENFq7nDLRIw VZOchg56G07L7sKUJcguJIZhN7ix5bgyjAQRPY0cVtU6uxd1lUEaLN24trb1WJFLXoP1BB 1b0bCtsBnCyOkB+JWebCWcCAFZgF8bq7wYfmxxf3D2spEATWche8AVT41MgLf8tkvIMD6G 4YcLm+2qkZBHOL+6K8pwzdTcHj3kWK7KVcX7MiQn4hZ6XolQQCC/DZIh+Fbjh4yUA+ugw9 XvtvhMX2xz7aIHdN6lWZ9dm/ReTL31RmimA/AS3zNGvtw70AAKjbH5VuSuhkuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666025461; a=rsa-sha256; cv=none; b=McT1e/yAqoFYNHRattyEDNZk6ZAfM1vQs8PbLP1reQA0LbrzTSaYlDfOslbNJdcOrNJ8AE MbvD1n0jNFTPMEciTgcPVZJwFbqjUpwtMC6LRu+YRSwXZH7qnqC/qXzcl8BTbmH9Nj6haC ZjsN3icVPxcwYMyhZe3Q2nWPm8xQr1LpGVWVuThaMJUzFN6KeKMZYWh7s7b7IbfanDhkeR 2gtwaNRMwVmUJ72THHbmMlkcNT7JQVaQSRg6QYMyeeuY0sl5Fa93Y59xzTYB9oU/UU2xQ5 m8wTOCKymNIKxSD0Kgsj9WMYbFGUe8+lzmkS0Ua5RZvv1CY7VhLqMSvSj9u69Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=YYwpshtu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: 7.48 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=YYwpshtu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: E722032AA0 X-Spam-Score: 7.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: p/W2UlbeziDk Hi all! I've recently come to like Guix's approach coming from Nix, and would definitely love to be able to use it within my development spaces. I'd love to be able to package the latest versions of PureScript compiler ( https://github.com/purescript/purescript) for Guix, although one blocker is that the latest GHC available is 9.0, whereas we currently build PureScript against GHC 9.2.3 exclusively; eventually, that'll get bumped up to 9.2.4, and then 9.4.2 but that will be in the following months. With no prior experience, I decided to try and write a package declaration for GHC 9.2.4, which can be found here: https://github.com/akashi-moe/akashi/blob/main/akashi/packages/haskell.scm Note that unlike GHC 9.0, this uses the Hadrian build system packaged alongside GHC instead of Make, which is slowly being phased out by the GHC development team. I got pretty far this weekend, although the package declaration fails currently during the `validate-runpath` phase, which I assume is because of the `install` command that I used. Given that I'm on a pretty slow machine currently, it's rather difficult to iterate when I have to wait 1h~1h30m between builds. I'd greatly appreciate it if anyone wants to take a look. Kind regards, purefunctor