From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6vPIN/v22WAccwAAgWs5BA (envelope-from ) for ; Mon, 28 Jun 2021 18:21:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KIsKM/v22WD1GAAAbx9fmQ (envelope-from ) for ; Mon, 28 Jun 2021 16:21:15 +0000 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 A8EBBF00D for ; Mon, 28 Jun 2021 18:21:15 +0200 (CEST) Received: from localhost ([::1]:45692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxu0Y-0004o4-2g for larch@yhetil.org; Mon, 28 Jun 2021 12:21:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxu0N-0004lD-9r for guix-patches@gnu.org; Mon, 28 Jun 2021 12:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lxu0N-0000Tm-0D for guix-patches@gnu.org; Mon, 28 Jun 2021 12:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lxu0M-0005Wd-R0 for guix-patches@gnu.org; Mon, 28 Jun 2021 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49196] [PATCH v4 1/3] import: go: Return false for package not found. References: <07d7149fc0f89f7f2d11fba47e1b0b2db5ceb809.1624479231.git.iskarian@mgsn.dev> In-Reply-To: <07d7149fc0f89f7f2d11fba47e1b0b2db5ceb809.1624479231.git.iskarian@mgsn.dev> Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Jun 2021 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49196 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49196@debbugs.gnu.org Cc: iskarian@mgsn.dev Received: via spool by 49196-submit@debbugs.gnu.org id=B49196.162489723521142 (code B ref 49196); Mon, 28 Jun 2021 16:21:02 +0000 Received: (at 49196) by debbugs.gnu.org; 28 Jun 2021 16:20:35 +0000 Received: from localhost ([127.0.0.1]:52329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxtzr-0005Un-UK for submit@debbugs.gnu.org; Mon, 28 Jun 2021 12:20:35 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:40769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxtzp-0005UU-Hd for 49196@debbugs.gnu.org; Mon, 28 Jun 2021 12:20:29 -0400 Received: by mail-wr1-f49.google.com with SMTP id g7so17360637wri.7 for <49196@debbugs.gnu.org>; Mon, 28 Jun 2021 09:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xyfzeGHjgYipDP017Y3vpgziAEjuDkbsOhIFiawVpP0=; b=crmwLD4l1byqZsAm5RleM2fxg6pYz7kvI6Bn1EmMKab5b28hJyrzPRNtUIVuo/CiN7 On9qEqq4j3I9COG8B/aCcvshtt0T0dRum9dsT0QhGEqI3LXMBPnT/NxMbZxEjb/WEuL2 DEWjFwGhVX4tJfhY5EhotMHov5HpjdAcCTvrEFPDZvj16kV7vHLAHuR6r8nan6oI8/gO QXzTcZrGYNhi/0OhQrE162wT15YTLtMm3tHFMnlwco8q94fnfG2qCKP86IzPJpe4sol1 w2b6wwNsZwMISxm0j7OFpbBRQmGy54xrS09tS0nbbXUIfknQ1J2hHMQiAtYzMmRtsmJ2 +cFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xyfzeGHjgYipDP017Y3vpgziAEjuDkbsOhIFiawVpP0=; b=lefwR+8LdUbE+Hto+avQTMOkVvPz4URnSMXH2N9QRG9+hJUwJApNn+oOwNhGspL8iD tdaMH+xJqWtQTPpgjNHKfVoRmC/xqEKmEpDtwRamGrAuGZ/O/qb2mZAVdHdmcl/Oy2Sr pEOqFh8QVqbo7DGDa8/jiRX0etyNjTT52RmDjl2BgxrTi/+Q2Tj7MbHZs7EFFiiT5/tz ql2l/R5zkR0jvLMZAxQvUuZWJPUBk/mKBOdQrGRQMGHuPfvUfSRW+nbhw2fd0sHUhg5k +s4homCv9hdnwpIlm7x2GxtaDIBpf3xE/AusvwS8WBxspv5d6BFwQAl0kqvRlZ1ZXgqt aetg== X-Gm-Message-State: AOAM533rM1SWqT8yK87BGzlFpmsNhh1NEItCVa2ojHycmuUpntIMgUrq DTcaJlwBLS5BpRPXxJHvLre8n3GoUAo= X-Google-Smtp-Source: ABdhPJwWL623Zy1dk36NXncqxW+uYn0lekxLyBz7TJwM/sU0yeJqSDSReld+fAsC9hJqmXcD0iqzDw== X-Received: by 2002:a5d:6992:: with SMTP id g18mr27909451wru.73.1624897223495; Mon, 28 Jun 2021 09:20:23 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id v18sm17050567wrv.24.2021.06.28.09.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 09:20:23 -0700 (PDT) From: zimoun Date: Mon, 28 Jun 2021 18:20:12 +0200 Message-Id: <20210628162014.15319-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: A8EBBF00D X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: JHzcQYvjbnhI From: Sarah Morgensen * guix/import/go.scm (go-module-recursive-import): Explicitly return false when packages are not found. --- guix/import/go.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/go.scm b/guix/import/go.scm index 5e23d6a2b3..a2863c79ad 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -653,7 +653,7 @@ This package and its dependencies won't be imported.~%") (uri->string (http-get-error-uri c)) (http-get-error-code c) (http-get-error-reason c)) - (values '() '()))) + (values #f '()))) (receive (package-sexp dependencies) (go-module->guix-package* name #:goproxy goproxy #:version version base-commit: 77c9c5c103ed2d09a43709bb78bc0b13a399e797 -- 2.32.0