From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CAMKBJkBUGQl6AAASxT56A (envelope-from ) for ; Mon, 01 May 2023 20:14:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iLn8ApkBUGRNNwAAG6o9tA (envelope-from ) for ; Mon, 01 May 2023 20:14:49 +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 BD3129E1C for ; Mon, 1 May 2023 20:14:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptY2H-0003BZ-JH; Mon, 01 May 2023 14:14:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptY2G-0003BP-S2 for guix-devel@gnu.org; Mon, 01 May 2023 14:14:04 -0400 Received: from coleridge.kublai.com ([166.84.7.167] helo=mail.spork.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptY2F-0003Lg-1C for guix-devel@gnu.org; Mon, 01 May 2023 14:14:04 -0400 Received: from psyduck (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id 4BCA09359; Mon, 1 May 2023 14:13:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1682964811; bh=s7Vty77SAwvfSbj2IP+3Ius4bmnMslO/mvqUUx9l5hk=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=n/owCTeOMKN9aPG8GhZhKO/wJ4eu9LvPFtxoCxyNK096cgU0YyFC9mFeCFe8oM9Av uMnPqzH7MDG8TJOE1rY7AkeUA5MkTTbuKT/Np/3yor3GqmKX4aqXJrDRIVRHxoVt3a mpKz2gT2uihSCa8PT4gBTSGq2aUsJaEC0WC3UHn0= References: User-agent: mu4e 1.10.2; emacs 28.2 To: Altadil Cc: guix-devel@gnu.org Subject: Re: Running Tor Browser with guix shell Date: Mon, 01 May 2023 14:10:42 -0400 In-reply-to: Message-ID: <87fs8fly2d.fsf@psyduck.jhoto.kublai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=166.84.7.167; envelope-from=bjc@spork.org; helo=mail.spork.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Brian Cully From: Brian Cully via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682964888; a=rsa-sha256; cv=none; b=b8o00MSwazP1dm+275d4tZ83ZDhRxG10P3gWd+c5Qg+VoqRYNoqVL2YJDlyugscIeQik6b UoSqEm5uoqQWpGaDGxOXWBhg2FO1cwW+cfOxUaZmjDKJNlnRt7wawi6kuvY/kmo9Z1pCY0 YPwXBl+qYnndiHDNed7Pl0eroPv0AOvDZoMYUVGxe5KJoGM4GNjPGa4WlaxDp4yrmhMgyn XCQVxX0HbNbcx4K9B435dC1nHDxVoE1RgWxQUH+D4j+ane4sVsmXOm/h6itk77SQ5mFolg k48psCtw8v8hNve5koeFTWYQQHg7iSRfJJVcOgfizkUIHOcjQ9pwPGji4EBdLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b="n/owCTeO"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682964888; h=from:from:sender:sender:reply-to: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=Oz1tDzcD1V59+VsyFLAXeKcDtXg2u5D95hoBIuh45y8=; b=YGRUTsOfXaZnT5zy+1p06pf3y6Nozsvwb86cb9kjiG8fi40hNyRU6c2pRGn4UKToPRBS7N 6N2UYT694wIXsxg80CGgkbn+VxmX0lYXEjuLXmItVx5XQck2TJgxmoQCx1kOrHOak31/Xz cLNlqnI5FzymnYWGpWgx5q7NmkmYJ3Ylia9tDqzbyZtGszEWsUgf28LNhG2tXoblJ+j+j+ 3T7l10c4TyhG/SIT6OzSy1Y7W4e6P5SaqdqDmAOM20u2um6KqrYWtoYgMOIwxRYOB9eGYI TH10eggfalaUKFTqR9frJDLZlZZli9QZrXrMTf0A0uA4Ftu0yKYZYm2DMo0T9g== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b="n/owCTeO"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.51 X-Spam-Score: -3.51 X-Migadu-Queue-Id: BD3129E1C X-TUID: 3ecTLxtWzHJs Altadil writes: > thanks to the blog post on FHS emulation, I=E2=80=99ve been able to run=20 > Tor > Browser in Guix, so I figured I would help back a little, by=20 > sharing > this small improvement. > There are two new things in this guix shell command : > - replace gcc:lib (which does not exist anymore) with libgccjit > - add audio. > > guix shell -CFN --preserve=3D'^DISPLAY$' --preserve=3D'^XAUTHORITY$'=20 > --expose=3D$XAUTHORITY \ > --preserve=3D'XDG_RUNTIME_DIR' --expose=3D/run/user/"$(id -u)"/pulse=20 > \ > alsa-lib bash coreutils dbus-glib file grep gtk+ libcxx=20 > libgccjit pciutils pulseaudio sed \ > -- ./tor-browser/Browser/start-tor-browser -v > > Hopefully, this can spare someone all the trial and error. :) > Since this use case was first discussed on this list, I am=20 > writing > here, but maybe there is a better place where to put this kind=20 > of > information ? > Anyway, thank you all for Guix ! It might be nice to have a section in the cookbook for things like=20 this? Maybe something like =E2=80=9CContainerizing services=E2=80=9D, with = an=20 examples section for common stuff, and an explanation of why the=20 flags are used and why the packages are required? -bjc