From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KN2lCb4CzmWfVwAA62LTzQ:P1 (envelope-from ) for ; Thu, 15 Feb 2024 13:25:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KN2lCb4CzmWfVwAA62LTzQ (envelope-from ) for ; Thu, 15 Feb 2024 13:25:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=vKp4FV7m; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707999934; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Te5eDPrhBdRpW0h33aEC5nwGb9tF+mb7ay1/1a/Jvl8=; b=kaQDp1M0nQk56l3upCEh6wrAjB7YmmLnLy65yoNjVkANrqGVXzKZoE8MHnos/hU8+SiVjY 8DMjdkDgwjEDXeugRIYG7JOkkk8bF6/sWCDTDZFhAUhqXXCVA0mHQnBB3WEwfCNo0vdjyx sc/UcP9MjiO2S3p/gFcj+grnxL07QYehGW+wLAjrRkJzHjQ/ENhfoonPilkNspzOdpmBmQ wah/sB7dEmhuy0FVjshpG9WIPPTs3hznNGoNNGIBhwMDBkdL1/mo0b3V3bg7aQ6I+66Tco 5BxSkjGfDi87d4VuXm9YP4XRMoDyMGUj3bRYKanvuR5DejTqh8KVgleUeztw2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=vKp4FV7m; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707999934; a=rsa-sha256; cv=none; b=R23pv0iwA4Eebd5Ve9kQpnZ4hj8Li63DG1+BC8h4EG09delowMs8f+Ms45GgeJtKd31MYK 66+JF9XGfqLKfNy56FHzDPYAOVd+nemptkcn8L66doZqeTi1qApXgWzyr4dqP7BdV2m9Z8 cvNYPDL1Iwp4KIFXQwtXo5UpsNhwbRiak9/86cXA6DzOTXhiTGoHrqM/qZGDfvGZ3CRXyo ZTS8tIWL+z/OntyeExXVTTrAzspQxTfymEHGwWdK66cGz5KTfDpBvFaa9wTLZGFEyctIbC tcufttzGlJZe/n5S6HGW/05ymC/3MQ0GaMKPCbyy95tm9yJo0hircyACS2Aalg== 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 0B0EB6CA94 for ; Thu, 15 Feb 2024 13:25:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raamr-0002GY-HO; Thu, 15 Feb 2024 07:24:22 -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 1raamp-0002Eg-HF for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:19 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raamp-0006IV-7I for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raan7-0001gn-O6; Thu, 15 Feb 2024 07:24:37 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69164] [PATCH v2 21/23] gnu: Add hadrian-for-ghc-9.6 Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2024 12:24:37 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69164 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69164@debbugs.gnu.org, 67921@debbugs.gnu.org Cc: Saku Laesvuori , Lars-Dominik Braun X-Debbugs-Original-To: guix-patches@gnu.org, 67921@debbugs.gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by submit@debbugs.gnu.org id=B.17079998276064 (code B ref -1); Thu, 15 Feb 2024 12:24:37 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2024 12:23:47 +0000 Received: from localhost ([127.0.0.1]:54459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raamI-0001Ze-NM for submit@debbugs.gnu.org; Thu, 15 Feb 2024 07:23:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:42358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raaNw-0006TL-HB for submit@debbugs.gnu.org; Thu, 15 Feb 2024 06:58:36 -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 1raXSU-0000Fr-8c for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:06 -0500 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 1raXSS-0003pF-Cv for guix-patches@gnu.org; Thu, 15 Feb 2024 03:51:05 -0500 Received: from X-kone.org.aalto.fi (unknown [130.233.144.187]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 0BD58343680; Thu, 15 Feb 2024 09:51:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1707987091; bh=3rF5uasXhUx+jeXQ/TOPMTGmC2EeZ7Z07yUga8N4u6I=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=vKp4FV7mMHVlE9OPgeYHh2UZzjmXzG03hUivk64OuR81rh6rkQ0f5lj5bjbYD7bG+ LGiIScqWj7/w8y/W5EOZDfgWz29aXrdHQbruF5n7ZwXjXqlXkFAiSt2p/sj2o0Mm6F ORjrZ0s4g5O99vvyfQMSpyb3kEwN5a3E/m5K/5SY= Date: Thu, 15 Feb 2024 10:50:02 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches From: Saku Laesvuori via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.68 X-Spam-Score: -6.68 X-Migadu-Queue-Id: 0B0EB6CA94 X-Migadu-Scanner: mx11.migadu.com X-TUID: aOCwfBywfSc3 Message-ID: <20240215085002.JVL4ZXsAodqLEC69dDCQuXWCBefT_jrutG0HNIcXO2Y@z> * gnu/packages/haskell.scm (hadrian-for-ghc-9.6): New variable. Change-Id: I4205c888afa7b03b4b1622a3af7d1d538fa5c9b1 --- gnu/packages/haskell.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 4127d7d4a7..9e1e659cf1 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2016,4 +2016,44 @@ (define ghc-primitive-bootstrap-for-9.6 "This package provides various primitive memory-related operations.") (license license:bsd-3))) +(define hadrian-for-ghc-9.6 + (package + (name "hadrian") + (version "9.6.4") + (source (origin + (method url-fetch) + (uri (string-append "https://www.haskell.org/ghc/dist/" version + "/ghc-" version "-src.tar.xz")) + (sha256 + (base32 + "1h6lpx8kd4xycjwb8iv2rgnz23kwq5b0qp4bhvczsx3in2w2bgqh")))) + (build-system haskell-build-system) + (inputs + (list ghc-base16-bytestring-bootstrap-for-9.6 + ghc-cryptohash-sha256-bootstrap-for-9.6 + ghc-extra-bootstrap-for-9.6 + ghc-shake-bootstrap-for-9.6 + ghc-unordered-containers-bootstrap-for-9.6 + bash-minimal)) + (arguments + (list #:configure-flags ''("--flags=-selftest") + #:tests? #f + #:haskell ghc-bootstrap-for-9.6 + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'cd-to-hadrian + (lambda _ + (chdir "hadrian"))) + (add-after 'cd-to-hadrian 'fix-shell-wrappers + (lambda _ + (substitute* + "src/Rules/Test.hs" + (("\"#!/bin/sh\"") + (format #f "\"#!~a/bin/sh\"" #$(this-package-input "bash-minimal"))))))))) + (home-page "https://gitlab.haskell.org/ghc/ghc/-/tree/master/hadrian") + (synopsis "Build system for the Glasgow Haskell Compiler (@code{ghc})") + (description "Hadrian is the build system for the Glasgow Haskell Compiler. +It is based on the Shake library and replaces @{make} in building GHC") + (license license:expat))) + ;;; haskell.scm ends here -- 2.41.0