From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WO3hKOH68WS5FgEAG6o9tA:P1 (envelope-from ) for ; Fri, 01 Sep 2023 16:53:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WO3hKOH68WS5FgEAG6o9tA (envelope-from ) for ; Fri, 01 Sep 2023 16:53:21 +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 74B5950CC7 for ; Fri, 1 Sep 2023 16:53:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=W1VxOFKY; 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=1693580001; 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-type:content-type: 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=EzjVnpS8LZsIqB2Br6eEfwe7Fgo64m8bpGsWPkx8Iag=; b=jPcfQMr+jrmoIRnrqAtRokBUHJOcs6xHtCyGWL64BGjtMBd9SsV0idUo3ppDW2R4Uy0YOL esJUQGXtiF11vn02l70CtEfKoMU+BFWY6hF2zUv6VqRztacrLST5iWHyvhy4s4eEFT76c1 VBJgVlrzeVSSDxIkcwHIQBCvGAobO3ossn7fwtFT0ZpGwJu74P4ZVmoVsh8SQm3pgOXhSN D4Q3V7UNSApVw9cib89rsKvQ/R9H60nWf4RC08qR3v2bMA7k+L5OakZ4j7kdAIRM9+LlD7 Mav0NwukpEsyBrf0zqYND4nBrPS89elbhk58VXkplmBfwfRYiVYZc1Q78W+rBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=W1VxOFKY; 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=1693580001; a=rsa-sha256; cv=none; b=I3pn0kg8k0QScLrvXueMtnv8FFGyKgB99qJMHDk/SqFXk7igH3fjNDbZf/CBj4wd6SiooM k3lMXVWSqycKrskbeCwGSsCuZ+49znrxXFDs9o7OSxrBmKPJnmvqsLIggJ1D4Ra3TUZBU1 Kdtv2MsLhAHMiUSzjyMWLCgiocKrVVgT/iZIZSd7fKlJ0D+OH1+6AMIKuGUZt891yjrbHb fLqE/gl/CgiOgMGprc+XLj683EaItAZJuTyPU4wMWmIG65O0FdPOA8QSMlspulmITqIkLk B+0A3QYKZtgZixW2mbvolQ9mFVWd08eukkWe+2E9Z7w2F3tKRAFnQSYFwTI81w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qc5W6-00088q-7f; Fri, 01 Sep 2023 10:52:58 -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 1qc5W2-00088Y-NF for guix-patches@gnu.org; Fri, 01 Sep 2023 10:52:54 -0400 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 1qc5W1-00011T-C2 for guix-patches@gnu.org; Fri, 01 Sep 2023 10:52:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qc5WA-0002Sy-Hz for guix-patches@gnu.org; Fri, 01 Sep 2023 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65681] [PATCH 2/2] gnu: simh: Use G-Expressions. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Sep 2023 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65681 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65681@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 65681-submit@debbugs.gnu.org id=B65681.16935799779457 (code B ref 65681); Fri, 01 Sep 2023 14:53:02 +0000 Received: (at 65681) by debbugs.gnu.org; 1 Sep 2023 14:52:57 +0000 Received: from localhost ([127.0.0.1]:33632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc5W4-0002ST-K3 for submit@debbugs.gnu.org; Fri, 01 Sep 2023 10:52:56 -0400 Received: from mail.envs.net ([5.199.136.28]:34884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc5W2-0002SK-V2 for 65681@debbugs.gnu.org; Fri, 01 Sep 2023 10:52:55 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 2685438A0142; Fri, 1 Sep 2023 14:52:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693579965; bh=EzjVnpS8LZsIqB2Br6eEfwe7Fgo64m8bpGsWPkx8Iag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W1VxOFKYoZIEujSaNXNcSQ18eh/OShkLoYy/aVbXlx9CCsMYwk5ABQ4uz1rEMdg8y 3qHWSK+rY4IMLfVZ9XR/hSn0GtIERYXIJCKGJ6BlM73PDKbnzd5obNlsgjDL3PSW6o BbLI7yfTqlKnpXcXwdFW+43bW7NZNK8/E3weXrNag9nRKVw9WAN/FJPGFMBtpZ03zW d79C22Q4G9XPTGtqCnzZvy79UT0rxfep6/mM7B8OjhM2k4u27AS53uZvCPD5OlEGhB jPWcCsu8+5q9dUQUUJkEzG2VrKMtJQPxJAIUscs3qc3D7+s+RvyVSzBdaHIGkL6+3h UOOZc5A9ZQv87PckuclwmP4aHaEQvowWA6jU3/5EiQvlLKpuQAPK/+g7yISPwmgyCG +n1LnAA99JoXVubv0iCqerm9JdlLMjpAew292SiQwAnCLWi/HLGq0NC6e7LlsxA3s+ hUYb1D4bjxtCQuKsiLF/f2UpaJg5uQsash1Tdb/USs/iMsLaMxlZiVYbx3rBFJg6Z/ NNcTGEKcgyQqLCGS2jFlYzxz2HGrbmhyU/J+XMEnlkx4kV7RggDZMg78yzOjpNRHnf wV7Zg5q1b7+e62QGlqcqlLWNHuLAmAXwUENBQ66+ozS7Pin+xPRRi4MN4vlYlMvwey 6Huq67skFjE3cIbpAN6A3n0Y= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id clQ5tFVa0EXk; Fri, 1 Sep 2023 14:52:41 +0000 (UTC) Received: from localhost (unknown [36.170.58.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 1 Sep 2023 14:52:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 2b0b5020; Fri, 1 Sep 2023 14:53:08 +0000 (UTC) Date: Fri, 1 Sep 2023 22:53:06 +0800 Message-ID: <5dcaf8f1d76f5ebac8dfd128c4ad5b465898caa4.1693579858.git.iyzsong@member.fsf.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <37f99d5eea2fc5a389cb3e498e4af8c75b37890b.1693579858.git.iyzsong@member.fsf.org> References: <37f99d5eea2fc5a389cb3e498e4af8c75b37890b.1693579858.git.iyzsong@member.fsf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches From: iyzsong--- 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.73 X-Spam-Score: -6.73 X-Migadu-Queue-Id: 74B5950CC7 X-Migadu-Scanner: mx0.migadu.com X-TUID: u+gxi5voqnLN From: 宋文武 * gnu/packages/simh.scm (simh)[arguments]: Convert to list of G-Expressions. --- gnu/packages/simh.scm | 70 +++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/gnu/packages/simh.scm b/gnu/packages/simh.scm index 2cf92516ba..9f5c04d8fb 100644 --- a/gnu/packages/simh.scm +++ b/gnu/packages/simh.scm @@ -19,6 +19,7 @@ (define-module (gnu packages simh) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -48,41 +49,40 @@ (define-public simh (inputs (list libpcap)) (arguments - `(#:tests? #f - #:make-flags (list - (string-append "GCC=" ,(cc-for-target) " -fcommon")) - #:modules ((ice-9 string-fun) - ,@%gnu-build-system-modules) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (add-before 'build 'prepare-build - (lambda _ - (substitute* "makefile" - (("LIBPATH:=/usr/lib") - (string-append "LIBPATH:=" - (string-replace-substring - (getenv "LIBRARY_PATH") ":" " "))) - (("export LIBRARY_PATH = .*") "")) - (mkdir "BIN"))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin/")) - (lib (string-append out "/lib/simh/"))) - (mkdir-p bin) - (mkdir-p lib) - (for-each - (lambda (file) - (copy-file file (string-append bin - "simh-" - (basename file)))) - (find-files "BIN")) - (for-each - (lambda (file) - (copy-file file (string-append lib - (basename file)))) - (find-files "VAX" "bin$")))))))) + (list #:tests? #f + #:make-flags + #~(list (string-append "GCC=" #$(cc-for-target) " -fcommon")) + #:modules `((ice-9 string-fun) + ,@%gnu-build-system-modules) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'prepare-build + (lambda _ + (substitute* "makefile" + (("LIBPATH:=/usr/lib") + (string-append "LIBPATH:=" + (string-replace-substring + (getenv "LIBRARY_PATH") ":" " "))) + (("export LIBRARY_PATH = .*") "")) + (mkdir "BIN"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/")) + (lib (string-append out "/lib/simh/"))) + (mkdir-p bin) + (mkdir-p lib) + (for-each (lambda (file) + (copy-file file + (string-append bin "simh-" + (basename file)))) + (find-files "BIN")) + (for-each (lambda (file) + (copy-file file + (string-append lib + (basename file)))) + (find-files "VAX" "bin$")))))))) (home-page "http://simh.trailing-edge.com") (synopsis "Collection of simulators from The Computer History Simulation Project") -- 2.41.0