From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 IJXTCHPnC2U3dgEA9RJhRA:P1 (envelope-from ) for ; Thu, 21 Sep 2023 08:49:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IJXTCHPnC2U3dgEA9RJhRA (envelope-from ) for ; Thu, 21 Sep 2023 08:49:23 +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 D089E8A0C for ; Thu, 21 Sep 2023 08:49:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=univ-grenoble-alpes.fr header.s=2020 header.b="QCPwfhT/"; dmarc=pass (policy=none) header.from=univ-grenoble-alpes.fr; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695278963; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6SJiuPKoH2a7xRx7FKDgWHzZOF0jN1FgUO2RdrQpC8w=; b=rwfuzOMBwKwsmJuKEdpElVu2k0vFokpgibA8by49l8PioU7Upa/8ozF1JdpD0OXBUGwt7y JejsId7V5nn4ua8VPMmg+O7Orai5bMqn/ga66vq/x9TkCMzPNIbtxC3tcJ4L28nggm+/Rp vY4XpY683oOOyz7zHKaPwsuokV/9yeKtPZj5aHbEH/UkmsEyhgGr6WyT46++kBCHMhvpr6 3hTXzG0vo2FFCRO1dtDoBHrlVI5VokgteqSEBYVKtImHULQH2uAeBBcN9fpoWD5Dan9HLO lwVoCuTk0x/XexSm/RX0qfQZ5rckY0NhfvwbARaQHnOs36yEM9bICJDccEBmfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695278963; a=rsa-sha256; cv=none; b=bDCGhXPWq8iUkLrwcRbAv9+/TaJquffIZpRGd8GfD1QPEx8AXWBGWYdcxvLg/JRU90EA1V w2WNeXgWhTuYNE4NhoLCzN51McgY/9eXKKElbvvhg+0jaK7r9KdpgAGxagEbqe0C7vvDlF T1ij/VrXmCOR0bedLu/asPKdBOfzB22Z6rcAUj7SAEg+nTHbKaFtQyMJC1R9ztiAZ17C7d j2VFpuKfb+E77t403W0YCjTbj0FTaUWo/TUEagpTRm3Ws0AjHuM034bB3KgtVH+lnp4pqo S1TLloRd3OYtTJiiQIeLHTsUEK/bPQAwRjDEqmadl94FUMcxkjra/6ee8Cusyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=univ-grenoble-alpes.fr header.s=2020 header.b="QCPwfhT/"; dmarc=pass (policy=none) header.from=univ-grenoble-alpes.fr; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjDU4-0005LY-F9; Thu, 21 Sep 2023 02:48:20 -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 1qjDU2-0005LO-6h for help-guix@gnu.org; Thu, 21 Sep 2023 02:48:18 -0400 Received: from zm-mta-out-3.u-ga.fr ([152.77.200.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjDTz-0005RT-H6 for help-guix@gnu.org; Thu, 21 Sep 2023 02:48:17 -0400 Received: from mailhub.u-ga.fr (mailhub-1.u-ga.fr [129.88.178.98]) by zm-mta-out-3.u-ga.fr (Postfix) with ESMTP id AC6E14021A; Thu, 21 Sep 2023 08:48:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=univ-grenoble-alpes.fr; s=2020; t=1695278891; bh=HnGtqg2PniRLvKdkU+fcAoWs0wGGeQqhi+/W0WKYP1g=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=QCPwfhT/Wk8+CvqMAxbwDl53Mx3qmL/MomVA7A2ye8t611H6gUXeSSn/NXNVdWF6w FiUPUIXPbpPP5z9LJutmOufhJRBdTnza3tbqQDPJpvPQH+ovHa0X0wPC55KC8WVjgR CVImWljTiHXeA9TV7hW4g1JHOgc539ktoRs7UAWFBwCAoWWWgbMqF1TytsGW2CXXqj iutLK4TvaWOmWWGUgK1hsrkgM18x4VOCZi/wZjO9b7yX9o9lSGcWUm1FHgNTyvSnDn xiPe0A5CxLEAmUfrgW8NAsmqa2u83cXzWEwDNu4eAW8nNjQTG4JRHX3KPMn3kFNso9 1HBAJ6+L7s5Mw== Received: from smtps.univ-grenoble-alpes.fr (smtps3.u-ga.fr [195.83.24.62]) by mailhub.u-ga.fr (Postfix) with ESMTP id A9FB110005A; Thu, 21 Sep 2023 08:48:11 +0200 (CEST) Received: from crevetete.univ-grenoble-alpes.fr (crevetete.imag.fr [129.88.43.91]) (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) (Authenticated sender: jahiere@univ-grenoble-alpes.fr) by smtps.univ-grenoble-alpes.fr (Postfix) with ESMTPSA id 94CCA40055; Thu, 21 Sep 2023 08:48:11 +0200 (CEST) References: <87editff74.fsf@univ-grenoble-alpes.fr> <20230921075730.6964647c@lepiller.eu> User-agent: mu4e 1.10.5; emacs 27.1 From: Erwan Jahier To: Julien Lepiller Cc: help-guix@gnu.org Subject: Re: dune-based package design trouble Date: Thu, 21 Sep 2023 08:45:43 +0200 In-reply-to: <20230921075730.6964647c@lepiller.eu> Message-ID: <87jzskdntg.fsf@univ-grenoble-alpes.fr> MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Whitelist-UGA SMTP Authentifie (jahiere@univ-grenoble-alpes.fr) via submission-587 ACL (41) Received-SPF: pass client-ip=152.77.200.56; envelope-from=erwan.jahier@univ-grenoble-alpes.fr; helo=zm-mta-out-3.u-ga.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.88 X-Spam-Score: -9.88 X-Migadu-Queue-Id: D089E8A0C X-Migadu-Scanner: mx0.migadu.com X-TUID: PwTKuPam+gS+ Julien Lepiller writes: > It's not very clean, but this works: Indeed it works ! Thanks a lot Julien. > (define-public ocaml-mlgmpidl > (package > (name "ocaml-mlgmpidl") > (version "1.2.15") > (source (origin > (method url-fetch) > (uri > "https://github.com/nberth/mlgmpidl/archive/1.2.15.tar.gz") > (sha256 > (base32 > "0hcaan4n5li0rnr55ilgxgd8w00lza9an6w4yj7v66dcb7plbasj")))) > (build-system ocaml-build-system) > (arguments > `(#:tests? #f; > #:phases > (modify-phases %standard-phases > (replace 'configure > (lambda* (#:key outputs inputs #:allow-other-keys) > (substitute* "configure" > ((".*query gmp.*") "echo \"$camlidl_prefix\n\" \n") > (("camlidl_prefix=`\\$ocamlfind.*") > (string-append "camlidl_prefix=\"" (assoc-ref inputs > "camlidl") "/lib/ocaml/site-lib/camlidl\"\n"))) > (invoke "./configure" "--prefix" (assoc-ref outputs > "out"))))))) > (inputs (list perl ocaml-findlib camlidl gmp mpfr > ocaml-bigarray-compat)) > (home-page > "https://www.inrialpes.fr/pop-art/people/bjeannet/mlxxxidl-forge/mlgmpidl/") > (synopsis "OCaml interface to the GMP library") > (description #f) > (license license:lgpl2.1)) ; with linking exception > )