From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yIXWHDsWSWO3AQAAbAwnHQ (envelope-from ) for ; Fri, 14 Oct 2022 09:56:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yB/nHDsWSWNcnAAA9RJhRA (envelope-from ) for ; Fri, 14 Oct 2022 09:56:43 +0200 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 F2B0E397B2 for ; Fri, 14 Oct 2022 09:56:42 +0200 (CEST) Received: from localhost ([::1]:39308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojFYg-0000aQ-6F for larch@yhetil.org; Fri, 14 Oct 2022 03:56:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojFY1-0000aH-IB for help-guix@gnu.org; Fri, 14 Oct 2022 03:56:01 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:43768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojFXz-0001DV-FR for help-guix@gnu.org; Fri, 14 Oct 2022 03:56:01 -0400 Received: by mail-wr1-x435.google.com with SMTP id n12so6299715wrp.10 for ; Fri, 14 Oct 2022 00:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KIzDVF8Pu/QEnZXTfSC5M4i1SsJoQ+1jjoQ2N0+LT8M=; b=EZ8zfi5hiVHxA4HH6uJHcXkeKkuwHW3AWeTWqVtGVFEFdJMejEMG7N4NriwgiOQYYY Kzl2NHzNA1zb9WMXjBKNZsLwSJKwHQOncWwNGWKWFWosGiPGvyKbO0Wb+1718OeBtXUH 3dTsV6PFWdXgG9cOeEtrtmMuSeab0mPmyJN62XiKq93Prin1Ck+2VDUWvnmMLKifD9zw R9rdQqbvojifxufWnnL+mmd+EnYjKFL3aj0OrR4STMNVksL8p2NEyRbgbttY8pCzJh4B hVNbCqGOg41i5RTUP1Tdmw4UkOlkAzNljJoa8S0QA6n/9c99rpq65M2eLV4pGs+k18H+ 7VkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KIzDVF8Pu/QEnZXTfSC5M4i1SsJoQ+1jjoQ2N0+LT8M=; b=GN7FTUWTA460X5FrHVDR+s3NhHGJMpFBICOxNVmjP7UNjQ9J4m7o/qcvz2ku6wQiKG IRF9tDq5OzkCXdX+CMGjTIOeOukETgw9sYXeOmh+eRcVfzxeWcBbJ72fnz4hQONi/8E4 s73N2px/NO62yKnawuBkbhwPfe+1g/naFtq2uc+SZIupkR8FzMzlnFKmQ6nhVUCtXYx6 e+M4hypZ7SghP2Z4I216TrArb0BAfFA4zzOsMALTnamtAf0+huGkD91I3HjeCzXdOfix gFuWxjsBUqUS/S0i4rIa73Sx9EgmDfOV+2QeimlN3KEFXWzaBC9NRPm8yrfTGQw5zx45 x0BQ== X-Gm-Message-State: ACrzQf1q6hglDPthAqQhLrjTKzQ9bSLrjvcuVkjmIyxwNLMDy7UQ31u2 y8Vei3mB+WFQYi+jA2KoMDy+aSuvTGQ= X-Google-Smtp-Source: AMsMyM4KU9mFd09qTo6R5l6fSGRrx5X24yphEE2i8deKsPlyzBDoQbExiSU8ug5hFcfEQUFHpdKevA== X-Received: by 2002:adf:d1c4:0:b0:230:7771:f618 with SMTP id b4-20020adfd1c4000000b002307771f618mr2250256wrd.203.1665734155847; Fri, 14 Oct 2022 00:55:55 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id o39-20020a05600c512700b003b4ff30e566sm13281354wms.3.2022.10.14.00.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 00:55:54 -0700 (PDT) From: zimoun To: Wojtek Kosior Cc: help-guix@gnu.org Subject: Re: program prepared with `guix pack` unusable by end users In-Reply-To: <20221013182027.2044d8ff@koszkonutek-tmp.pl.eu.org> References: <20221013182027.2044d8ff@koszkonutek-tmp.pl.eu.org> Date: Fri, 14 Oct 2022 09:33:49 +0200 Message-ID: <87czaurh9e.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::435; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x435.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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665734203; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KIzDVF8Pu/QEnZXTfSC5M4i1SsJoQ+1jjoQ2N0+LT8M=; b=uD/OHmX4QzleDhawaiWe9hH72PjJdI01sHjRstfqccWBEavqW7DcH7L5Hj+I0LbFyaZwGK DHJ/6THe6MUYkIJQCcCuExJUcRKwn3ND6gHmvNmbri7y3xZ49kN161SpWOb4KA5P6qxXJ3 W5222h9R80GzyycsRqLaa7lsDvXohPN5USuf5967xVXU3KzmH7WaDGmf8apjLSTkWJ/nn+ b2uC0JSOTgMcHbNW4k0lE/JuNuoiXgGliU3QPI3a4z0FAdvXG6KXuO2XxnnL+TMrhBc8ey pkONlDcd+mDIO0xM39SwCZEALWg8ZbU+36j3ytcUK8njt34XRRxG9qlStCETEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665734203; a=rsa-sha256; cv=none; b=If4aHJ+FNd8NpB+WgnbMip1QSYnfuJPJccEsFk8DZ+iZS2XS1MN5cYPjqcbcW95o0kL6iv 6idnpm44QwtsuWajhDozLRC191fuGFis6gyOELYF9dHddumlf2UJ2bQ1mOnWhaq4t3C+qA 6JrZYavFCTCJOm6XV5O/P8hylN9jv+1gZFSBK9D0tSLSTQErFrhrXnXDi7VfUnWgpyuEjH 4fW9P1emEozGROz6/hPpnQA9rjMQ89FsEb/hCwhuiku9Rv+7U98zY4R9NmgdyfLHwMomAR 2WgrlcVWzkA94Kj7oDObBNto4dsSnHlqvo6QPGTnDGx0bzJdDZOnKlikDUCWkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EZ8zfi5h; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EZ8zfi5h; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: F2B0E397B2 X-Spam-Score: -2.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: pLDlNu1nXhuA Hi, Wojtek, On jeu., 13 oct. 2022 at 18:20, Wojtek Kosior via wrote: > It took me a couple of minutes to understand what you're talking > about. Indeed, instead of copy-pasting the address > I clicked "Reply" on some random email from Guix mailing list and > changed the subject. For years I've been certain that messages are > categorized into threads by their subject. Now, as you wrote this, I > assume there must be some thread meta-data that is invisibly sent by > our user agents when we use "Reply" or "Reply all". > > Who would have thought? In the past, when I saw email software nicely > present thread emails as a tree of responses, I was thinking "wow, > this program must be using some really successful heuristic for > determining what is the response to what". Lol The header of an email contains many information, for example the one you replied in the other thread,=20 --8<---------------cut here---------------start------------->8--- [...] Date: Thu, 13 Oct 2022 07:33:06 +0100 Message-Id: Subject: Re: Greetd autologin? From: "(" To: "kiasoc5" , References: In-Reply-To: [...] --8<---------------cut here---------------end--------------->8--- and your message in this other thread, --8<---------------cut here---------------start------------->8--- [...] Received: from [77.252.47.255] (helo=3Dkoszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oisT6-0007ax-Ue for help-guix@gnu.org; Thu, 13 Oct 2022 09:17:25 +0200 Date: Thu, 13 Oct 2022 09:17:22 +0200 To: Subject: program prepared with `guix pack` unusable by end users Message-ID: <20221013091722.59d9ecc0@koszkonutek-tmp.pl.eu.org> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) [...] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=3Dyhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Wojtek Kosior From: Wojtek Kosior via [...] --8<---------------cut here---------------end--------------->8--- and such headers are hidden by most of mail clients. Quickly said, the thread is built using the fields Message-ID and In-Reply-To. If you give a look at the header of the message you answered, it contains the Message-ID field: CNKL38E5T0RV.1VYM8R2V0O1QM@guix-framework and your message contains the field In-Reply-To CNKL38E5T0RV.1VYM8R2V0O1QM@guix-framework and that chain builds the thread, somehow. > Doing as you requested. Although this is suboptimal as well since now > the topic is split between 2 threads :/ Communication is never optimal. ;-) >> Why do you pack =E2=80=99hydrilla-dist-tarball=E2=80=99 instead of just = =E2=80=99hydrilla=E2=80=99. >>=20 >> Guix should take care of everything; not necessary when packing a >> Python bundle as you are doing. > > It's ok, `hydrilla-dist-tarball` refers to a package that is built in > the package in the normal Guix way. The name just indicates that > tarball generated under `./dist/` is used instead of the project file > tree. If you're curious, I explain the crazy details in my previous > email response to "(". I am confused because, if I understand correctly, this tarball generated under ./dist is built using =E2=80=99python3 -m build -s=E2=80=99, so from = my understanding it is not the =E2=80=9Cnormal Guix way=E2=80=9D. > It sometimes happens that to keep my message concise I write what seems > to be the most important and attach links to other stuff that the > reader can look at to understand everything. Here that "stuff" was the > project repo which contains hydrilla.scm with both package definitions. > > And most of the time I learn that I failed to be clear enough and that > people don't have time to read my links. Well, I'm sorry for the > confusion. Although I'm starting to lose hope that I will learn to > communicate with ppl online without so many misunderstandings :/ Communication, especially when we are not native English, is not straightforward. :-) > The hydrilla.scm that I was loading with `-L .` is now attached. Is > there anything wrong in it? Thanks. Note that I have already given a look before answering you. ;-) > ;; Use this variant when building from a downloaded release tarball. > (define-public hydrilla > (package > (name "hydrilla") > (version %hydrilla-version) > (source (local-file %source-dir #:recursive? #t)) > (build-system python-build-system) > (arguments > `(#:phases > (modify-phases %standard-phases > (replace 'check > (lambda* (#:key tests? #:allow-other-keys) > (when tests? > (invoke "pytest"))))))) > (propagated-inputs > (list mitmproxy > python-beautifulsoup4 > python-click > python-flask-for-haketilo > python-gnupg > python-html5lib > python-immutables-for-haketilo > python-itsdangerous > python-jsonschema > reuse)) > (native-inputs > (list python-setuptools-scm > python-babel > python-pytest > python-pypa-build > python-mypy > python-types-requests)) > (home-page "https://hydrillabugs.koszko.org/projects/haketilo/wiki") > (synopsis "Block JavaScript and add custom logic to web pages") > (description "Haketilo HTTP proxy facilitates viewing of websites whi= le > having their original JavaScript replaced by user-provided scripts. Haket= ilo > combines the functionalities of content blocker and user script manager. = It can > be used with its script repository, Hydrilla.") > (license (list license:agpl3+ license:gpl3+ license:cc0)))) The point is to pack this definition=E2=80=A6 > ;; Use this variant when building from a tarball generated under dist/. T= his > ;; can be used to build from a git checkout after running `python3 -m bui= ld -s` > ;; or similar. > (define-public hydrilla-dist-tarball > (let ((base hydrilla) > (filename (string-append "hydrilla-" %hydrilla-version ".tar.gz")= )) > (package > (inherit base) > (source (local-file > (string-append %source-dir "/dist/" filename)))))) =E2=80=A6instead of this one. Could you give a try? Something along the commands proposed by =E2=80=99(= =E2=80=99 in [1]. 1: Cheers, simon