From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GMToNWavGGTNSwAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 20:09:26 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qBHtNWavGGSmOgEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 20:09:26 +0100 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 aspmx2.migadu.com (Postfix) with ESMTPS id CF01F379B4 for ; Mon, 20 Mar 2023 20:09:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peKsZ-0003I8-TG; Mon, 20 Mar 2023 15:09:12 -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 1peKsS-0003G1-3S for guix-patches@gnu.org; Mon, 20 Mar 2023 15:09:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peKsQ-0005He-43 for guix-patches@gnu.org; Mon, 20 Mar 2023 15:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peKsP-0002hZ-KS for guix-patches@gnu.org; Mon, 20 Mar 2023 15:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62274] [PATCH] home: 'home-environment-with-provenance' uses the HE location info. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62274 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 62274@debbugs.gnu.org, paren@disroot.org, andrew@trop.in Received: via spool by 62274-submit@debbugs.gnu.org id=B62274.167933930510338 (code B ref 62274); Mon, 20 Mar 2023 19:09:01 +0000 Received: (at 62274) by debbugs.gnu.org; 20 Mar 2023 19:08:25 +0000 Received: from localhost ([127.0.0.1]:56833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peKro-0002gg-KA for submit@debbugs.gnu.org; Mon, 20 Mar 2023 15:08:24 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:33537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peKrn-0002gR-0H for 62274@debbugs.gnu.org; Mon, 20 Mar 2023 15:08:23 -0400 Received: by mail-ed1-f45.google.com with SMTP id i5so3987150eda.0 for <62274@debbugs.gnu.org>; Mon, 20 Mar 2023 12:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1679339297; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=yP52kf++fcRaYaCsKaeA0nRTRAhMxxvy612NIWjdBz0=; b=gJ2RF90jFDSEAzlKCAEGYorfB5eAGjMiJyq7rtOpn87425mgIm7a98+/uMm9VymOvy tJbZMshAaSzpSwB5jkJEb3GXSelbGtheHYGdg5c+Rj/T2wgBlwA3ttznt5Ev/31t49Ln BVXo5ulatNfny20/88WcYEFIHb7r3sIno3bz0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679339297; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yP52kf++fcRaYaCsKaeA0nRTRAhMxxvy612NIWjdBz0=; b=IiZS/Bnukz8++NJc/iPiw0pruJ6jvG4MYsgEm1RFbgEwHD6NlQ/nQOWC5g6NFl/EBe XPBd7RLLnJ9/TMbcKygIKQiK6dBrJnqNUT4rnN81NvuSAGpNQsI+sS8ht7xmZ3fmwLcL P/GiBrkiN92r89iQJq07iyj3JDA1B6/JZoVuQ+QFqo8Ezw23CXrtpqJZUdCIE9a9nfC/ 0r2JRCSQbv9oHupjpkqdWxG7uWT97TU4s6cKMWZlQLkVMIOg5mM4A9taFFxlhuETj6WX oyiMy2boSUmaV0KGRb7X6zTpRxeqGjfznPU+Q6sKTBfRmzAgwUPuyfJTf6aUMm89V/Ig AW1Q== X-Gm-Message-State: AO0yUKXF2TKzPTjEpMPYQEq5y1aVD28Cduo4icfbeziMiEgFcKPCbhF0 c9W9Xhnn/vA7T8DHqYWuw0nu7Q== X-Google-Smtp-Source: AK7set8w6rHAWLEkFsd7gPBTh4G6pl7rx/4VuVutPa8YpfKYZN3tutASPrQxaFpXZsD2I4gNL6sznQ== X-Received: by 2002:a17:906:87d3:b0:8af:2107:6ce5 with SMTP id zb19-20020a17090687d300b008af21076ce5mr124126ejb.35.1679339296940; Mon, 20 Mar 2023 12:08:16 -0700 (PDT) Received: from localhost ([95.168.147.255]) by smtp.gmail.com with ESMTPSA id 8-20020a170906300800b008e2dfc6382asm4755838ejz.125.2023.03.20.12.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 12:08:16 -0700 (PDT) References: <20230319154537.30463-1-sarg@sarg.org.ru> <87bkknl443.fsf@gnu.org> User-agent: mu4e 1.8.13; emacs 29.0.60 From: Sergey Trofimov Date: Mon, 20 Mar 2023 20:03:00 +0100 In-reply-to: <87bkknl443.fsf@gnu.org> Message-ID: <871qljs0ju.fsf@sarg.org.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679339366; a=rsa-sha256; cv=none; b=rI+ggNBCRWvzzm33FG/0ChYZB5IFxgrCGrP+3z78FDFDvYo8TZBjrbPyvZ3l1M9wtR/EbZ Q5punp0xKD02LzbZfJsc6GI4H5XPV/h+cbHnxMCjfwqw4wamoyuDzOB3VvikShIb7apzTV 12wMdN3X+UqjLr1Z6ArZLiPlo9z6U3OGAjgrfULxSpqtW7mY8M5yzbyCf63E8EJE17H1AQ Ox1y+XBSSpjiPteBDDqZDTG7+9AQfR4VWAFZr5b6bphJiSc6gHp0EcU9b5Oc45cj7HgUbO hGlSGJMhRRtX+KIrnzXLeWNchd1CNl2UsHw8jBRdnoOaYjO0ELMw3nd8iWjn4Q== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=gJ2RF90j; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679339366; 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=yP52kf++fcRaYaCsKaeA0nRTRAhMxxvy612NIWjdBz0=; b=XL/mlu6I7fGz0UZw099RrIKvonfMWWuVMs2+gfE3cSGA2DYk1YdwZ0+RPDJDCKvF71Xe39 dFcdELkV6xk1SlNDPyKCZPiOt2nHNBd50JhROj9nzo465fYitGy/qU9unnjQokwPg7NT0n vlYbqH9OkREn3u5iUYDVTZKwf6fKRk1MemXzoUGf2pXNeio2I4m7Vnx6Jug9EUY08ZDKzF LBcjzbI3FLS3vqWjjltZjqRTI0nwpVuNYej0+cpJeHfdDBCJjOHv2oO+FdJ6KIktAiYXAS km8CmGN3YMLou0We5dpqLhguuhnM3tpp7dBJEgVROyaNblbMmersEUMfh2knTg== X-Migadu-Spam-Score: 0.75 X-Spam-Score: 0.75 X-Migadu-Queue-Id: CF01F379B4 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=gJ2RF90j; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-TUID: 3dcIy2/5pDz2 Hi Ludovic, > Hi Sergey and all, > > Sergey Trofimov skribis: > >> * gnu/home.scm (home-environment-with-provenance): Make >> `config-file` >> optional, with the default taken from the HE location info. > > [...] > >> +(define* (home-environment-with-provenance he >> + #:optional >> + (config-file >> + >> (home-environment-configuration-file >> + he))) > > AFAICS, there’s only one call site for > ‘home-environment-with-provenance’, and it passes two arguments. > Thus, > the default value added by this patch will never be used. > > Am I missing something? You're right, the new signature is not used anywhere yet. Though I'm working on a patch to embed home profiles in disk images produced with `guix system image`. That's where this method comes handy, see example usage: (image (inherit efi-disk-image) (operating-system (operating-system-with-provenance (load "./system.scm"))) (inputs `(("guix-home" ,(home-environment-with-provenance (load "./home.scm"))))) (partition-table-type 'gpt) (volatile-root? #false))