From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eJl6FFCoB2S2UwAASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 22:10:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0NlfFFCoB2QcogAAauVa8A (envelope-from ) for ; Tue, 07 Mar 2023 22:10:40 +0100 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 F00F0753B for ; Tue, 7 Mar 2023 22:10:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZeZK-00078p-1X; Tue, 07 Mar 2023 16:09:58 -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 1pZeZI-0006zY-Uk for help-guix@gnu.org; Tue, 07 Mar 2023 16:09:57 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZeZG-0004Iv-5u for help-guix@gnu.org; Tue, 07 Mar 2023 16:09:55 -0500 Received: by mail-wm1-x331.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so11281841wmb.5 for ; Tue, 07 Mar 2023 13:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678223392; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=MJtJK8FIYpIayP2TW07PUxu110tyySVFcxNy1x7tGas=; b=gnsiTKuiEElSst0L2bBc5ru5q5N5uYB/xhVHgHfw7g/r94d+Bq+rFQ4UFikRt0ggki t2K1Z3W1f/PXgydrLoss8IxdFrm9o/s+LVKYA4thWfqwR1mtQK9ikRYSDblHDm0fXOw7 Suq4bNIrYsM7gtSmNlisLfDNd7ZQx8DmmJNLnWmYoDKG4wTIRJXndIAST9AqqydzwKb4 hJrxarJDd3MP/7tD2vZEH5835HU57NgdRyqiqGH7kmI74i2a2KsCUPS/yEuKkXuyjj4V 5O1vasS9zSOg7IWTrRZJn9/q/GL7cFScwopPQXEBfOyGcqWeNDjdLD88Mu0q2yMbwtJR hsjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678223392; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=MJtJK8FIYpIayP2TW07PUxu110tyySVFcxNy1x7tGas=; b=0XLLz6oBfZ8dcWcrv1mJ/iTKI6B8sh272JSjUt/xc/LNDDIzMONSfdCZ7MImp66A3d Z1CWCJpCFyUoY9697rEUCDbm7ebQrBZ4d/d4pM8qqq6/PhOJ1aJJdrjfjYbURgHGjUms CKEIr4gyop9DJwDMNsyGW650MReRqqTSg09XYh8CZ6Gw//uzbRiRQZ+45WDNeVFTunGE adQ1019dlNFRdtum//sVincIfGG350BFx8/l76ufnqyiW1MO+SygwBveSP5V5/NeQJWX JGfujkL0SItlkcV2XTxuUzERaB19J9T3uSSRSopmKhuhI7PxAfqAoWN3W1/8BSqHK7F2 Ol9Q== X-Gm-Message-State: AO0yUKWNe7cKKJUfzQjgxIu4mrhyW7W4dN8W7JLZUpDCuIti9ejIyrb5 zJz1/40tKN2SG6hHgeLIdtjgrwmN9yI= X-Google-Smtp-Source: AK7set/2EKE4CBTRmHmnwC1hsdcWVLMbQghJR8xhKZd2kJSqiQn3n6bYjjj5fvrKN/eCiWEp3cXEfg== X-Received: by 2002:a05:600c:3ac8:b0:3db:2922:2b99 with SMTP id d8-20020a05600c3ac800b003db29222b99mr12837367wms.4.1678223392078; Tue, 07 Mar 2023 13:09:52 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id h6-20020a1ccc06000000b003e118684d56sm18293967wmb.45.2023.03.07.13.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 13:09:51 -0800 (PST) From: Simon Tournier To: =?utf-8?Q?Przemys=C5=82aw_Kami=C5=84ski?= , "help-guix@gnu.org" Subject: Re: streamlining custom package development In-Reply-To: <06abebe3-1b27-881a-ce7e-7cdc4a725d6b@pm.me> References: <87jzzsbldz.fsf@gnu.org> <06abebe3-1b27-881a-ce7e-7cdc4a725d6b@pm.me> Date: Tue, 07 Mar 2023 19:28:25 +0100 Message-ID: <86ilfca01i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x331.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, 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-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678223440; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MJtJK8FIYpIayP2TW07PUxu110tyySVFcxNy1x7tGas=; b=HRXBgDTPHzIsTL8w0jAxPFSVqffHavnpJu9LksxMizL0lLkOMb1Sjf6qPK5OSGYUE3H8V1 /0j+DVegNvf1a1ScqUpxAOxm1zPbCaJ0YpG6lsw6ZtLdxrPjTeUYqRDeUtbtvU58vfwtig J+bqHFDSbjVPKUPtJPLz7V+aFrD7ig5AeYO10JoWbw14BpuwIZj5pEziMqiFeINJDE8ZgG hJF3c2Fjk1BunDy4l0d6BsqsjG3N+RuV+Rru8OABACg1LREBbH2VihfUohWB4M0tZoNvcJ RAJRgGbHld1t0FGcjD6dWwPHxm5grGCQjqfwO/FNgeaDJI6BR6MUjFlo7tYBKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gnsiTKui; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678223440; a=rsa-sha256; cv=none; b=RfX3gc28AMGoOYnPFTF8bK86JqrXoSIcAAORv/tmFrcKscY6m1xEcIq51jTuWIyylYFZIg /DYcgnBm/sidFeCFxhl+eyHEFbjX/zOI/c9wP1TWLQAhHUyrXDnZP5Zznuoq8PGk5umwrZ 8ewgcpgzl00Dyunuu5AyUbHLUxGVe9sKcA8GQrECf6yw447IwrC10Jtwp14gs11wkAygtG OdHLk4iC2wdya8z5GZNFp+DXjj9xpdy6loCbwxVXQSiH2Utl2lYKvPYBFvIMfMoxl6Qn4a 0rF62wjaVnwGTo5BfS3Cdb11ikyJST5YOmVGNJnN8ORrE/BzCERQx8+z56Td9Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gnsiTKui; 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"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Spam-Score: -4.93 X-Spam-Score: -4.93 X-Migadu-Queue-Id: F00F0753B X-Migadu-Scanner: scn1.migadu.com X-TUID: X+ud5xmAvU+M Hi, On Tue, 07 Mar 2023 at 16:57, Przemys=C5=82aw Kami=C5=84ski = wrote: > Starting download of /tmp/guix-file.TykbjO > From=20 > https://hackage.haskell.org/package/servant-examples/servant-examples-0.1= .0.0.tar.gz... > download failed=20 > "https://hackage.haskell.org/package/servant-examples/servant-examples-0.= 1.0.0.tar.gz"=20 > 404 "Not Found" >From , I read, 0.4.2, 0.4.3, 0.4.3.1, 0.4.4, 0.4.4.2, 0.4.4.3, 0.4.4.4, 0.4.4.5, 0.4.4.6, = 0.4.4.7 and 0.1.0.0 is not listed. For instance, just tweak the Cabal file, --8<---------------cut here---------------start------------->8--- $ git diff diff --git a/servant-examples.cabal b/servant-examples.cabal index f31e2a4..8861cf2 100644 --- a/servant-examples.cabal +++ b/servant-examples.cabal @@ -1,5 +1,5 @@ name: servant-examples -version: 0.1.0.0 +version: 0.4.2 -- synopsis: -- description: homepage: https://github.com/githubuser/servant-examples#readme --8<---------------cut here---------------end--------------->8--- then Guix finds it in the Hackage infrastructure. --8<---------------cut here---------------start------------->8--- $ cat servant-examples.cabal | guix import hackage -s -r=20 Starting download of /tmp/guix-file.yrblu1 >From https://hackage.haskell.org/package/servant-examples/servant-examples-= 0.4.2.tar.gz... =E2=80=A6es-0.4.2.tar.gz 1.7MiB/s 00:00 | 7Ki= B transferred Syntax error: unexpected end of input Syntax error: unexpected end of input Syntax error: unexpected end of input Syntax error: unexpected end of input (define-public ghc-servant-examples (package (name "ghc-servant-examples") (version "0.4.2") (source (origin (method url-fetch) (uri (hackage-uri "servant-examples" version)) (sha256 (base32 "1nmgzkn0nv3p0bzr5ny0yx0g45fzf5qx7s868jp1nq7wbfd3yc0i")))) (build-system haskell-build-system) (inputs (list ghc-servant ghc-servant-server ghc-servant-swagger ghc-swagger2 ghc-wai ghc-aeson ghc-warp)) (home-page "https://github.com/githubuser/servant-examples#readme") (synopsis "") (description "") (license license:bsd-3))) --8<---------------cut here---------------end--------------->8--- > My guess the "Syntax error" is from the missing "ghc-servant-swagger"=20 > package. Hum, I guess is that it comes from the option =E2=80=99-s=E2=80=99. For in= stance, guix import hackage servant-examples -r does not display it. However, I do not find what is the code that display =E2=80=9CSyntax error=E2=80=9D. Maybe a bug here, indeed. Cheers, simon