From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +KGzDPZRiGDHaQEAgWs5BA (envelope-from ) for ; Tue, 27 Apr 2021 20:03:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oKNeCPZRiGDfKQAAB5/wlQ (envelope-from ) for ; Tue, 27 Apr 2021 18:03:34 +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 777F710964 for ; Tue, 27 Apr 2021 20:03:33 +0200 (CEST) Received: from localhost ([::1]:50650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbS3V-0006nY-Rr for larch@yhetil.org; Tue, 27 Apr 2021 14:03:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbRdU-000503-By for help-guix@gnu.org; Tue, 27 Apr 2021 13:36:36 -0400 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]:59264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbRdR-0004R3-9g for help-guix@gnu.org; Tue, 27 Apr 2021 13:36:36 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id xtcS2400e0mfAB401tcSuq; Tue, 27 Apr 2021 19:36:27 +0200 Message-ID: <87d89701159f5d0213713a70b9c08928ae91c647.camel@telenet.be> Subject: Re: Bug? Importing (gnu rest ...) fails due to lack of patch files on build side. From: Maxime Devos To: David Dashyan Date: Tue, 27 Apr 2021 19:36:18 +0200 In-Reply-To: <87k0onoe1f.fsf@davie.li> References: <87blajj0kh.fsf@davie.li> <87k0onoe1f.fsf@davie.li> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Bm3asZoLr4UMhTB/f/Yd" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1619544987; bh=tGZeiBR22cnswBvdopRZhf3E+3/ionodN0TxlONe7u0=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=GrPjRCP7nMPNw/ljNfEjRpTs3rcp1g2aFEjsvejer97meNOLCDrEjDoRfMr03WFR9 cYdXSt1TYCQ1ZvwdiZf2yqGVyqeIHxE6T4oKpH1pg0hyaow1YHsRCsXqtoCSH1ARtj V4ZsLEGEiUrz7+SN7kG0tGoXGIk0F/UYtBgBCn/7jj7NXbdpleqGQgV+ApgrGUD0vb hN/+N2+qiuZOLt/OzvFhHoNxkwKpvpL1Hu6K5cRo1M/UQn4TAhCYq1PLIsHwnblg7c EAGG6jaZomKFpXOD6P7LtzOMJZQE/YnXgD8OjCvXGZX9ifGy7plsXK2NjQbD9pmykn 4XgbeD913mgPQ== Received-SPF: pass client-ip=2a02:1800:120:4::f00:14; envelope-from=maximedevos@telenet.be; helo=xavier.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Help Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619546613; 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=tGZeiBR22cnswBvdopRZhf3E+3/ionodN0TxlONe7u0=; b=I/M0eQubLwNIAj8NX3OInPJI1RG6H31cd+V9pGn8e+VtlnuCH1D9h4FER/kY5kY9ULV78f ApTnP3M2SJRRU6rek08TKzJLi4vuFtqyqYYtLquQEM+ZQcPVnUhx9qggwu2bsYYXEvGKNs al0DVeWWqtnUFmbOCk2gviLStjaQJSVRrQQnUMOAwy9JzXsKepMtd8vTRpTS0bHYg/qXcc KaJgDkxTyXx7WY/hhZoD+Upfo0PCkdLJjsyBaP0l+dZtpspP3F/1tRa2qAHdWki442x3Ao wSSIBxGFzoFx6ABed3pCNvZ8mwyGFl+4nDd2cNo3bMMsGfQ4EK99SafuPUgVLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619546613; a=rsa-sha256; cv=none; b=B5hBvG+bZIuACJE3P8CGIuHNrs0Q1NmvHMW/kH27X/aOl2qeDS1IiSR6k1Sa+WJ3XFUMNm kTK1f4qkHQkWSEfVZjhKkZHO1R7Jm1VJ0SeVm7zlsiv7Opp9+0GU2fgjBkgA6kQ/+5Z/Lu xRFmnVt4ZRn+axi0cSfY1YJ/6HcyUXac5z+qJDphbfYGrzrc0rqEWdFU3thpacVCthQz5z tIRkOCCXIBOqkNgxF/6Cy1abtehr6Nklj8toCvDkWsaMAhse1wk/++kymd2nEDOTLR/A2v s/2nqEAY/lFlF0pXEQRRsb+Eo2YW1mtJp7ulfQ6Iv1/ghScKOy1NVkmMEZMfxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=GrPjRCP7; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -5.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=GrPjRCP7; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 777F710964 X-Spam-Score: -5.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: +NuikHjepHGJ --=-Bm3asZoLr4UMhTB/f/Yd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable David Dashyan schreef op di 27-04-2021 om 20:03 [+0300]: >=20 > Hello, Maxime! >=20 > > No, it is not supposed to work! Only guix/build/... and > > gnu/build/utils/... (and maybe others I forgot) are supposed to be > > imported, so source-module-closure excludes other modules. The reason > > is that gnu/packages/*.scm are supposed to be changeable without > > causing any change in derivation hash (and therefore resulting in > > rebuilds). > Ah, great! I'm glad I got definitive answer to this question. But I > don't get the last sentence. Changeable when? You mean that by > including (gnu package ...) in inputs of a derivation change in > gnu/package/*scm files will cause change of derivation hash? If you mean: All package, services, etc ... derivations that include the (gnu packages .= ..) module (and its dependencies) would have a change in derivation hash, then yes. > But why it is a problem for service derivations? It guess for service derivations (FWIW, that's not an =E2=80=98official=E2= =80=99 term, I think), this isn't much of a problem. I still recommend using (with-extensions (list guix) ...) or similar though (with the caveat that the 'guix' package isn't always the latest guix, so you may want to conside= r inferiors or something). > As I understand it won't cause > change in other package derivations hashes propagating down the graph. > Service derivation sits on the leaf of dependency graph. Or I missing > something? No, that's correct. > > > Some context to why am I doing it in the first place. I found this > > > out while I was implementing "guix-cloud-init" service. The service > > > to simplify guix deployment to digialocean, aws and others. > > > Cloud-init is widely used way of configuring cloud vm instances and > > > it works by providing metadata via mounted storage or link-local > > > address http endpoint. This includes ip addresses, devices, ssh keys > > > etc... So given you have a guix image with guix-cloud-init service > > > you can upload to your cloud and it will "just work". :) > > Do you know about "guix deploy"? > [Plenty of text] I'm not familiar with clouds that aren't aerosol consisting of a visible mass of minute liquid droplets, frozen cry= stals, or other particles suspended in the atmosphere of a planetary body or simi= lar space. (Source: , accessed 2021) so I'm afraid I don't have much to say here, but your idea of skipping Debi= an seems better than is done currently! Greetings, Maxime --=-Bm3asZoLr4UMhTB/f/Yd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYIhLkhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7g6RAP4urO2DgeufPSdlGgmxPBvwrHZH lUn2htaoDZHgZg07IwEAsONWw6mfmOaBI0FJ+DyuUunGTaW1QflaTfxjyBHZ4Ao= =NDqE -----END PGP SIGNATURE----- --=-Bm3asZoLr4UMhTB/f/Yd--