From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ACvSAnWh0GZQPQEAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Aug 2024 16:27:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ACvSAnWh0GZQPQEAe85BDQ (envelope-from ) for ; Thu, 29 Aug 2024 18:27:33 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=fuSnmktW; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=SbPuEoYS; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724948852; 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=y98fQeWdxhcUXPDzhdbjSjsH7DXFgaQdyKI3ToDLpGg=; b=L/jpiBuRugs/42dDY4WRtrzb3LdJRWNHaGqjKNJsypnttM43a8Lnb1HoXetaku7rzgeOoY Rr6+erOnd25tLSjMV/xcY9oKwC+0kXyyK0OwPkYZFSdX08L150Urci00wTlbLgkkfzGWdu CW7aOvq+kduEC9yuVn4AVtEVHBy+1lOzlxFE7D6l91h3vpUo2U8gbooYegCrNGOya2PEzO 7flJQ7HJU1IWIf5HPEmTRvG0c5Kml8eD9oH4AWqwagRMAs8gxfdLqqv07Icj/0XkoqifFA f8erbNQulnAcOeNP/SxgO2rg5LB5BXz5LlV+0lYjZyVHiwySfJ8X0ADgY1MALg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724948852; a=rsa-sha256; cv=none; b=tweC1tSPfPanOkL/W6vmbhZtUFxigrOVxTSGtLlyG0NlmrNnPfqzbexEZI81elIB5sve/f u5OhEsvD3hkxXQh+bQMz2aXLCmH9ucOeelssbmXz5YPbj4C7BR79M6IEMaxgnRK9KqR5m6 pt8qVErIh1hTFzS6eGNLl6yCqtlXxNnTtOmPXGqq8QYq4bvERCSxho1f0DwlznSUqg2IKy V66PTZbJBqWp2DtO+iKG+soAX4rriGbrOzDwdof/hMWb4FjO4F09tCT8+fqRmdAu7DH2c1 griFC+8ALt6D3qCcVgqDa1WW+4d36kVBgRFUkb8bt9a4GA9e3KE0XxF5lsr0vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=fuSnmktW; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=SbPuEoYS; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 BAA313CE41 for ; Thu, 29 Aug 2024 18:27:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjhzN-00056z-Od; Thu, 29 Aug 2024 12:27:13 -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 1sjhzH-00054c-Lf for guix-patches@gnu.org; Thu, 29 Aug 2024 12:27:09 -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 1sjhzH-0006J9-DR for guix-patches@gnu.org; Thu, 29 Aug 2024 12:27:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=y98fQeWdxhcUXPDzhdbjSjsH7DXFgaQdyKI3ToDLpGg=; b=fuSnmktW1wZD4/grBGO3A7vnz+MkBtI98gfKgS7FNM52JfUInwvtPLugfui0k0Bv/I+ShND+a1k/e4CM3VU8k9xEsf34/9bZys6ak9axuFy0AlFPWp6yIx1XSTXkjewyBkgfUZHESbu0sbzYaReOsPsLFWBuX0OtwPSj8JPtq5USF4xvutDa6+Ga6HRnTOrtKLfgqlEgkGzMF63wbGgYg5YBN/btFlZNs/ojNb/xJx8Gx93caV7Sglvd2aeyIChtQlo9QqvuNZb0shfl1QvY2kzutIGmPMUw8k2Y2XBLll28DriIS/y8PmmFBw2h3AbJ9kkHgs2mmkjegqFOIXygSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sji0A-0005Es-Qz for guix-patches@gnu.org; Thu, 29 Aug 2024 12:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72873] [PATCH 4/4] gnu: scilab: Add sanity-check phase. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Aug 2024 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72873 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72873@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 72873-submit@debbugs.gnu.org id=B72873.172494882720026 (code B ref 72873); Thu, 29 Aug 2024 16:28:02 +0000 Received: (at 72873) by debbugs.gnu.org; 29 Aug 2024 16:27:07 +0000 Received: from localhost ([127.0.0.1]:52064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjhzH-0005Cv-K3 for submit@debbugs.gnu.org; Thu, 29 Aug 2024 12:27:07 -0400 Received: from 4.mo583.mail-out.ovh.net ([178.33.111.247]:42047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjhzC-0005Bt-Az for 72873@debbugs.gnu.org; Thu, 29 Aug 2024 12:27:03 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.139.176]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Wvmqd4jvXz1WgY for <72873@debbugs.gnu.org>; Thu, 29 Aug 2024 16:26:05 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-8gvqz (unknown [10.111.174.233]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 0630A1FEC5; Thu, 29 Aug 2024 16:26:03 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-6684bf9d7b-8gvqz with ESMTPSA id rHKnIRuh0GaeDQgARW2akQ (envelope-from ); Thu, 29 Aug 2024 16:26:03 +0000 X-OVh-ClientIp: 80.214.77.241 Date: Thu, 29 Aug 2024 18:25:46 +0200 Message-ID: <20240829162554.28746-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240829162554.28746-1-ngraves@ngraves.fr> References: <20240829162554.28746-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 11609435418388783842 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudefgedguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvgefhfffhfeduudehgeeggefffeeuvdffueehueevjeevleelueekueejuddtudenucffohhmrghinhephhhomhgvrdhlohgtrghlpdhstghilhgrsgdrohhrghenucfkphepuddvjedrtddrtddruddpkedtrddvudegrdejjedrvdeguddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedvkeejfeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=y98fQeWdxhcUXPDzhdbjSjsH7DXFgaQdyKI3ToDLpGg=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1724948765; v=1; b=SbPuEoYSHgky9N+je96pIC52MajOsR0fdHl5RyADCaa3zzgQpE+T2OavQMKsMY4cdWCicacp REKCz3l5e3dJMdvjBOIePax9WEan1wUAGsgAplu22AFuc9nReNbS/meRRIVFrlkWeLN8rg9i8VX SzjgIdmep7BWwmYd6/R+8ra/nm6yCcThXNYCIQMpqG3vGBVCReh03gqu9NHWtFxgsSNk8RIvtGg rSbJchId5YdbkJmPuR5dSRBddyxU/oaGUw6wiH9U3yT8OzMMCa2CTAaGEQPJzV5cVbX7Y+OZntK Ugq0Yvag4NlAD4EOXv2vTfC4k0jJqQ2DRhbTZquotwu3w== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves 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: -3.48 X-Spam-Score: -3.48 X-Migadu-Queue-Id: BAA313CE41 X-Migadu-Scanner: mx11.migadu.com X-TUID: 1LShM4kkp2ws * gnu/packages/maths.scm (scilab): [arguments]<#:phases>: Add sanity-check phase. Change-Id: Idc6911511fd0bf7e779d4af026f0a6390eb3b079 --- gnu/packages/maths.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 48a22bb6a1..577d9b87aa 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -10054,7 +10054,12 @@ (define (bin path) (string-append #$output "/bin/" path)) "\"${XDG_STATE_HOME:-$HOME/.local/state}/scilab/" #$(package-version this-package) "\"")) (("export SCI=") - "unset LANGUAGE\nexport SCI=")))))))) + "unset LANGUAGE\nexport SCI=")))) + (add-after 'rewrap-scilab-cli 'sanity-check + (lambda _ + (setenv "HOME" (getcwd)) + (invoke (string-append #$output "/bin/scilab-cli") + "-e" "\"quit;\""))))))) (home-page "https://www.scilab.org/") (synopsis "Software for engineers and scientists") (description "This package provides the non-graphical version of the Scilab -- 2.45.2