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 ms0.migadu.com with LMTPS id +HBBD7C1bmFLEwEAgWs5BA (envelope-from ) for ; Tue, 19 Oct 2021 14:10:24 +0200 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 SPH8CrC1bmFLWwAAB5/wlQ (envelope-from ) for ; Tue, 19 Oct 2021 12:10:24 +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 B12CBC9AB for ; Tue, 19 Oct 2021 14:10:23 +0200 (CEST) Received: from localhost ([::1]:53476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcnwk-0000Pu-He for larch@yhetil.org; Tue, 19 Oct 2021 08:10:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcnZs-0004Tf-5q for help-guix@gnu.org; Tue, 19 Oct 2021 07:46:44 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:43849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcnZp-0006pR-Hc for help-guix@gnu.org; Tue, 19 Oct 2021 07:46:43 -0400 Date: Tue, 19 Oct 2021 11:46:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1634643998; bh=B1rpuDEguOvE8AACom2pc1Kp56cCOg+08VZ81lqRRsQ=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=nkzPTtJhn2KgLMSluo/zA2IGzTakFeoERRqqVM+63lD5M7YUW+nmX5l7RXee6k601 r6OsN91wzDT38fjAnJNoMN4XGCjo587mGc1ESB24lRCM5F4TLQ60BqPRHCbkVeiZDA veG7ebufzRskmtuCy929tUpNvbAqGDdSkh0ry5e0= To: Fredrik Salomonsson From: Roland Everaert Cc: "help-guix@gnu.org" Subject: Re : Re: Guix home on foreign distribution Message-ID: In-Reply-To: <87o87mz1t8.fsf@d2.com> References: <87o87mz1t8.fsf@d2.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=r.everaert@protonmail.com; helo=mail-4316.protonmail.ch 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: , Reply-To: Roland Everaert 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=1634645423; 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=B1rpuDEguOvE8AACom2pc1Kp56cCOg+08VZ81lqRRsQ=; b=Mn1mD55Kc4C1p1dlG3kCRUAJkUeEGOPdGTjR3xemrTBfZnG6BMCBTQEQnefcBI1PBjUcIg B3lExdFIoxIzn9y47+b0yoC59WkU7g9/+ODjCT4VVvDOsnJ4e3UA5/XsA5gr6yCtRWzLPx zU2raRSm7W+MHPOFkJB0TBL3p5XcFP9p5l4PasPb5Uol2b1JsG3dhaFq3k/BwoOCGSfLeU rb9HJuVO6bl7FxfnNyVGa/+NlXpGebGDpUOY3vjub3MiI9a5GtpYg4S0dI2wj2accGfmaM H89hbj5KON14pOlRpqyYiW0lJdnpf5oYiOTCYc1RxnfYZzcnxmklBOy4A+ncHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634645423; a=rsa-sha256; cv=none; b=nOhBEahcX7pBI+80rf9eulELRPyNE02kVjfPC+/YoY339IJJIYZW2DmCy1k9uUrWxF2wk9 EM+hLPSXvoVQRuh+lF0UBGX7GtHWlZS0sZc+rNnQ5/bHzSp4uH8BGfSPVgfHpjY8mJRaiW ZjISYA4yl7I6DfzYDkI86qOGK53LCbB4e4Ef+001x78I2G+5Kr0iwSj/jm1XwYT79rPaOW dSXr1OIA8QW9CNM3SZeBG30W1hm4XiPxP4vmw8N47gFKy5M1gDXZ1hHLB/R93di6ge1pig BqFu7qnZaruvUy+ou+Rb0Xq5ZqmKMRFd1Y27yhVQxem7zDUZVy5xc7oyc5OYXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=nkzPTtJh; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=nkzPTtJh; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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: B12CBC9AB X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: t3thbbXWIKlz With that syntax it works. Thank you, Roland Everaert --- Use the F.O.S.S., Luke Sent with ProtonMail Secure Email. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Le lundi 18 octobre 2021 =C3=A0 19:21, Fredrik Salomonsson a =C3=A9crit : > Hi Roland, > > Roland Everaert via help-guix@gnu.org writes: > > > Hello, > > > > Is there anything related to file and directory permissions to be set o= n foreign distrubution for guix home to work? > > No special permissions are needed for guix home to work. I'm using it on > > a foregin distro and it works (still have some minor papercuts but > > unrelated to this). > > > I know that feature is still pretty young and some parts are still in > > > > dev, yet I have tried it on my fedora 34 system and got the following > > > > error, which could be related to permission and file ownership: > > > > building /gnu/store/564yvkjmdp5bvdijk8w0cwl7ym5q6sdr-bash_profile.drv..= . > > > > Backtrace: > > > > 8 (primitive-load "/gnu/store/lp5wrbb8qi9lc3hyji3dxwjzgg8?") > > > > In ice-9/ports.scm: > > > > 463:17 7 (call-with-output-file _ _ #:binary _ #:encoding ) > > > > In ice-9/eval.scm: > > > > 159:9 6 ( #(#(#) #)) > > > > 163:9 5 (_ #(#(#) #)) > > > > 155:9 4 (_ #(#(#) #)) > > > > 159:9 3 (_ #(#(#) #)) > > > > In ice-9/boot-9.scm: > > > > 152:2 2 (with-fluid* _ _ _) > > > > In ice-9/ports.scm: > > > > 440:11 1 (call-with-input-file "export HISTFILE=3D$HOME/.bash_his?" ?) > > > > In unknown file: > > > > 0 (open-file "export HISTFILE=3D$HOME/.bash_history" "r" # # ?) > > > > ERROR: In procedure open-file: > > > > In procedure open-file: No such file or directory: "export HISTFILE=3D$= HOME/.bash_history" > > > > builder for `/gnu/store/564yvkjmdp5bvdijk8w0cwl7ym5q6sdr-bash_profile.d= rv' failed with exit code 1 build of /gnu/store/564yvkjmdp5bvdijk8w0cwl7ym5= q6sdr-bash_profile.drv failed View build log at '/var/log/guix/drvs/56/4yvk= jmdp5bvdijk8w0cwl7ym5q6sdr-bash_profile.drv.bz2'. cannot build derivation` = /gnu/store/ic73gayslzsj0k2snp61z5aaiwd6l5ck-files.drv': 1 dependencies coul= dn't be built > > > > applying 2 grafts for /gnu/store/g2wlw2kxszxclfq1pvxyfbs7q15xl1vf-pytho= n-future-0.18.2.drv ... > > > > cannot build derivation `/gnu/store/gam06nxwyb6kcqs3pxwh1v8p627ps0df-ho= me.drv': 1 dependencies couldn't be built guix home: error: build of` /gnu/= store/gam06nxwyb6kcqs3pxwh1v8p627ps0df-home.drv' failed > > > > The guix home configuration file I use: > > > > (use-modules (gnu home) > > > > (gnu home services) > > > > (gnu home services shells) > > > > (gnu services) > > > > (gnu packages admin) > > > > (gnu packages python-xyz) > > > > (gnu packages password-utils) > > > > (gnu packages dunst) > > > > (gnu packages disk) > > > > (gnu packages backup) > > > > (gnu packages libreoffice) > > > > (gnu packages guile) > > > > (gnu packages xdisorg) > > > > (gnu packages tls) > > > > (gnu packages vpn) > > > > (guix gexp)) > > > > (home-environment > > > > (packages (list htop glances password-store dunst ranger restic hunspel= l > > > > ;; hunspell-dict-fr hunspell-dict-en > > > > ;; guile > > > > neofetch xdotool openssl openvpn xscreensaver)) > > > > (services > > > > (list > > > > (service home-bash-service-type > > > > (home-bash-configuration > > > > (guix-defaults? #t) > > > > (bash-profile (list "export HISTFILE=3D$HOME/.bash_history")))) > > > > (simple-service 'test-config > > > > home-files-service-type > > > > (list `("config/test.conf" > > > > ,(plain-file "tmp-file.txt" > > > > "the content of ~/.config/test.conf"))))))) > > -----------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- > > I think this is an issue due to the api changed for the > > home-bash-service-type and the docs hasn't been updated. See this email > > thread [0]. Try changing: > > (bash-profile (list "export HISTFILE=3D$HOME/.bash_history")) > > to > > (bash-profile (list (plain-file "bash_profile" "export HISTFILE=3D$HOME/.= bash_history"))) > > [0] https://lists.gnu.org/archive/html/help-guix/2021-10/msg00045.html > > I hope that helps. > > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------------------------- > > s/Fred[re]+i[ck]+/Fredrik/g