From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gAULHxnWkF+XIgAA0tVLHw (envelope-from ) for ; Thu, 22 Oct 2020 00:45:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aDbdGhnWkF94BAAAB5/wlQ (envelope-from ) for ; Thu, 22 Oct 2020 00:45:13 +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 D29E99403EC for ; Thu, 22 Oct 2020 00:45:12 +0000 (UTC) Received: from localhost ([::1]:45260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVOj9-0007Yz-MK for larch@yhetil.org; Wed, 21 Oct 2020 20:45:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVOj0-0007Yh-MO for guix-patches@gnu.org; Wed, 21 Oct 2020 20:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVOj0-0000Fu-C7 for guix-patches@gnu.org; Wed, 21 Oct 2020 20:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVOj0-0002EE-8I for guix-patches@gnu.org; Wed, 21 Oct 2020 20:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#31285] [PATCH 0/1] guix: Add git-fetch/impure. References: <20180427081520.28645-1-cmmarusich@gmail.com> In-Reply-To: <20180427081520.28645-1-cmmarusich@gmail.com> Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Oct 2020 00:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31285 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "31285@debbugs.gnu.org" <31285@debbugs.gnu.org> Received: via spool by 31285-submit@debbugs.gnu.org id=B31285.16033274928534 (code B ref 31285); Thu, 22 Oct 2020 00:45:02 +0000 Received: (at 31285) by debbugs.gnu.org; 22 Oct 2020 00:44:52 +0000 Received: from localhost ([127.0.0.1]:50903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVOiq-0002DZ-Bh for submit@debbugs.gnu.org; Wed, 21 Oct 2020 20:44:52 -0400 Received: from mail4.protonmail.ch ([185.70.40.27]:57447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVOin-0002DM-Q3 for 31285@debbugs.gnu.org; Wed, 21 Oct 2020 20:44:50 -0400 Date: Thu, 22 Oct 2020 00:44:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1603327483; bh=weA3LBmE/aby00QjENlHquN09g2Sfy3eGPxHWqTkcZY=; h=Date:To:From:Reply-To:Subject:From; b=S9k211F2dJXn15utRCHgyluf10TdyTDPpUlY8BYCE9Hwer8PBOxWTBca9RvJ4t5v8 kBUSok+ypFvtcC214dQfVSt9XKuOUs+psNlaA72JusvOARar7O5/wYt9zNqPZUKICs w47cLEYhPrK8enQ2EBlvpPjf4DM5OaLhaQVB9mgI= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.1 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" Reply-to: Luis Felipe , Luis Felipe via Guix-patches From: Luis Felipe via Guix-patches via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=protonmail.com header.s=protonmail header.b=S9k211F2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: uVtXAkXemuaq > Sometimes, a Git repository may only be available via an authenticatedSSH= connection. Even in the case of repositories that only containfree softwar= e, this situation can arise for administrative orcompliance-related reasons= . How can one define a package in such asituation? Correct me if I'm wrong, but I think this is possible now. All you have to = do is pass a git-checkout record to the package source field instead of an = origin (see the (guix git) module). For example: (source (git-checkout (url "git@gitlab.com:luis-felipe/guile-lab.git") (commit (string-append "v" version)))) I'm using this for my private packages, and it seems to work.