From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OGM+N9t43GANswAAgWs5BA (envelope-from ) for ; Wed, 30 Jun 2021 15:59:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QEhZMtt43GDhEAAA1q6Kng (envelope-from ) for ; Wed, 30 Jun 2021 13:59:55 +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 98A811AB72 for ; Wed, 30 Jun 2021 15:59:55 +0200 (CEST) Received: from localhost ([::1]:58380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyaks-0005X3-3Z for larch@yhetil.org; Wed, 30 Jun 2021 09:59:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyak1-0004e6-VG for guix-patches@gnu.org; Wed, 30 Jun 2021 09:59:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyak1-00032V-ND for guix-patches@gnu.org; Wed, 30 Jun 2021 09:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyak1-00013k-LF for guix-patches@gnu.org; Wed, 30 Jun 2021 09:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49149] [PATCH 0/7] Add deb format for guix pack. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Jun 2021 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Cc: 49149@debbugs.gnu.org Received: via spool by 49149-submit@debbugs.gnu.org id=B49149.16250615164032 (code B ref 49149); Wed, 30 Jun 2021 13:59:01 +0000 Received: (at 49149) by debbugs.gnu.org; 30 Jun 2021 13:58:36 +0000 Received: from localhost ([127.0.0.1]:58360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyajc-00012y-Gd for submit@debbugs.gnu.org; Wed, 30 Jun 2021 09:58:36 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:56079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyaja-00012k-ID for 49149@debbugs.gnu.org; Wed, 30 Jun 2021 09:58:34 -0400 Received: by mail-wm1-f48.google.com with SMTP id j34so2134902wms.5 for <49149@debbugs.gnu.org>; Wed, 30 Jun 2021 06:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=m7hoWDDSfuWsGe8yJ5FO/sku5tFdc7RAFDmJhLbXOlM=; b=Hp1Tkob+YKI4NNwXEaZNl13HHqz53E/7ZwdKlRN1zgcwaF20m19YyDdYxBO64x+4kP OjKI/DO/Uz9XDLSxopS3FS/eitnxLyR1VOZQrw5xKQOFg70QxvO+v5Jjx9/ACB3J8xQP KqHfEPUWAQCe8+svTpCDefAJQ7I5PrSt/1Pkil/kGlSA1gaBuhreaxvr2BbQWnU3ICh8 2wxGejcysG294zh9Q3sep1fwAURjlzFchhS1dcSNFkbmQtLF98JVesVZZZ7k7/G0DlDK 1cC9L6bJFs6ODPq+RGQeY1tN7iFVs0jz1igtQlFXDtWEkAoZ+1oUl2bGu5sIfDoLIor6 nkIg== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=m7hoWDDSfuWsGe8yJ5FO/sku5tFdc7RAFDmJhLbXOlM=; b=nbd7Swj7XNWhcaF5g91rkDXaa6uz2oz9DcNl7vBrYBIbzLI+ITWxi7vG7Ef9RUIWfU ayFqO8zaVfmdfRHKQhXeuw9ao2j3SvBOJnOrdypFa/CN6LRjtGH2FpNTm/5VgVL1xtjT IMPMBilQccRUNhP9+S3Qn+dVlHfH04ogKM9sC5u37bDIrLI89YRwocwZ3VOpXeUL6BkS BoefREONwned9LHM42ivrktV6Zwbq7UnozkmgEEuWRhDzqae/G8nlKcUpfOtkpJriFrc sniaWP2VnMmrwMhC1XGtpmF8H8mrTyGHVn6vj8hB7Dtmpjd+vP4HFscuyYw7abNITauj 5+Iw== X-Gm-Message-State: AOAM533XkVi/UDTZqMYDQahYWXGANJAiKNIbU+dk9fTpJ3892Uwb/SEf oNlVB/DeOktz44ZYx95dt9oeg9j56Ww= X-Google-Smtp-Source: ABdhPJzbHWc4Mw6KIA2KZYi5xOomqrONpUoM554POYxI0oDs6iH+Y1CqtFYJ+qNDAKjFu5bMNkmwNA== X-Received: by 2002:a05:600c:2215:: with SMTP id z21mr39710287wml.64.1625061508377; Wed, 30 Jun 2021 06:58:28 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id b9sm25893455wrh.81.2021.06.30.06.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 06:58:27 -0700 (PDT) From: zimoun In-Reply-To: <87bl7npvbg.fsf@gnu.org> References: <20210621061039.31557-1-maxim.cournoyer@gmail.com> <87eecsuv85.fsf@gnu.org> <87k0mcv9wh.fsf_-_@gmail.com> <87bl7npvbg.fsf@gnu.org> Date: Wed, 30 Jun 2021 15:49:03 +0200 Message-ID: <86tulf799s.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625061595; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=m7hoWDDSfuWsGe8yJ5FO/sku5tFdc7RAFDmJhLbXOlM=; b=DNeHYs4X74Q9sydh9VSZlod/Ni+Tmb+oAwkASGZ7td9iqkJFl+06ggue5h6xqG68dgb6zd 7GMpwXKpFtQ0pXY0Edv+D+y9Shx+wk/7QawrlDvgQYECXCaalnFlicidmXq/MyrXKYA9MH 0DWyDdPJ34/CArj9U54mGWDLWRtMBkuplUfdLFdL0NLOI7CPYuWCEjuE4ba96Xe9e8mJcT AJ+WKwp3g8THuWbEBiWI7gYPumWgCZg4gG9bFIaSfrttTVp3g+eQcLYJDDOYXGO91U2Zz+ CO1XXLW931qG/TQ6d6mc8hgEUqbSCx0lKpCYCr6TMTt4onB9GGjia8W3Yj/DCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625061595; a=rsa-sha256; cv=none; b=bsqUl0sLynL5NJmujlu+yf1SUonG2OTEnVdCxYFjlNrlWJR94ogSapc0q/IKmK8pjpVJ8V vkrnTjz0eio1ve0BFqfUR32mOXAASJou/yfSnOHrTsQdfVOFUpyRNlDXwvAb0Lx9bCF1sg D5iP6PCWIMKCwvtNwhVzoGj60RKPf4jt10K3PbjMnh2mcoJJEWM3G5Lbdoix6t2MrqamjJ ZeAPuISGMqTzBUOzzYlxUY35fqux5TAUWaxOBhPC7jvDLd3ZFqfmp0sZgdzEKMoq505oXI rJz/GqCw/tVP/b1c4cVJZhmzvocvcAQqah98pPSpyrqyjCtVvappq0tY73rb6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Hp1Tkob+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Hp1Tkob+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Queue-Id: 98A811AB72 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: kP9n+5s0lLzt Hi, I am a bit late to the party. Thanks for this good idea of pack. Neat! On Wed, 30 Jun 2021 at 11:15, Ludovic Court=C3=A8s wrote: > Also, what happens if you do: > > sudo apt install guix > guix install stuff =E2=80=A6 > sudo apt install ./guix-pack-generated.deb > > ? > > Will that overwrite things in /gnu/store? > > Admittedly it makes little sense to do something like this, but that=E2= =80=99s > something one could do. The simple scenario: scp \ $(guix pack -f deb hello -C xz -S /usr/bin/hello=3Dbin/hello) \ remote:/tmp/ ssh remote sudo apt install /tmp/=E2=80=A6-hello-deb-pack.deb realpath $(which hello) /gnu/store/=E2=80=A6-hello-2.10/bin/hello works fine. Then, I am probably doing wrong: sudo apt remove hello hello -bash: hello: command not found guix help bash: /home/simon/.config/guix/current/bin/guix: /gnu/store/=E2=80=A6-gu= ile-wrapper/bin/guile: bad interpreter: No such file or directory I have not investigated. Just a quick test for this nice new feature. Cheers, simon