From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OPwXE6xcHmXGLAEA9RJhRA:P1 (envelope-from ) for ; Thu, 05 Oct 2023 08:50:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OPwXE6xcHmXGLAEA9RJhRA (envelope-from ) for ; Thu, 05 Oct 2023 08:50:20 +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 A13474E440 for ; Thu, 5 Oct 2023 08:50:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=gliXEUK1; 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"; dmarc=pass (policy=none) header.from=landt.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696488620; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mLNpX9rw0mOZuUHbeThzejuK+2M2wxUI+6xf5w/FR50=; b=YvmI3uy4cAVRpNA572rDSZCDGG8jGCmTzZlAYzH/Cr8AuLFbwQ5dEV5ZT3g+be40vr827t nC7oDpp3oNcdSXHMT8UfBm5yuHlTTYZ5v0W46twJ7ZJme577QDP9bMnrrTyGFF9Msvf2j1 VlHh9fzEQpTCRpbvOOa1CQOGSmPzSjHp1Cwi+svIDLcdkighvz5/HkdxuX2jXhwwB+qK63 xDNBAIgyMD/B2ZO5KmwQTMfcm1mET/vHr3Qsnu9QHRNYnfIdVQ675cm5BZjrX7G7JaE9dv vX7HEwNWg4v/JTd0/mayHMMjDp53wk2r826xdgOEsvn0YGaUCXo4eygz1/ci5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696488620; a=rsa-sha256; cv=none; b=i4GErdsu9WNq8QLL3PU/4K1pVTjgw+aXhPKZMeyIXF6ROU1UdAykndI35ukQD/B+Jzq39j WsYQ22q4bX8aX5SPPJNzyRgVY8aDIDnGrNwVyD6o2KihePhioiYLOpKd/wQtN1ORkU0FNl Ldi2DwHf3iK6Sm7zJgDuOk0FyO12zMFX7Ln2ShSl853Jp9vArn/jItdUZ4G91yZKJTg7rx S3MWMzfDlMWtp2ZwOrX57wEXQxdR8iYoFGtpS+FVHM8G0JVf8Q0GxnDohmXV/OH1O8Qau/ ZP3T2GK9vFu+NlF3MHzWCTyrVzZbS74YcgE/uIcutSuVH/lVlnpvK3ncewCNRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=gliXEUK1; 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"; dmarc=pass (policy=none) header.from=landt.email Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoIAy-0003xd-2h; Thu, 05 Oct 2023 02:49:36 -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 1qoIAw-0003xH-GP for help-guix@gnu.org; Thu, 05 Oct 2023 02:49:34 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qoIAu-0001tz-SO for help-guix@gnu.org; Thu, 05 Oct 2023 02:49:34 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4S1Mc40x0hz9sR7 for ; Thu, 5 Oct 2023 08:49:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1696488564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mLNpX9rw0mOZuUHbeThzejuK+2M2wxUI+6xf5w/FR50=; b=gliXEUK15grKTYxUI5+73Qo0saHGKbXQBTcmLDbq+O6A7Fbt1TS+Z7p/tiMdqdzaondo8B A1sDM60noKWHhxqX7jSkuE+MpzVML32N7ELi2pDAS2QYLVuZLwfGg+U519zksuiueKCPAu otqUwHv7U5nvqiMQnqzNz3aDX75MxrIHAdL8UXmfbbvdzb8sMThMsHl2kdKd3jnJH/MJWT lJJ8yoXZBs8BIr5uNR0Auxcmy0v8fq5sH+LtaZ79bQUkTEaLWr7mmul3rdrHWfPxBpFcXc I8SET6jTZw7oxUkjG2Ed9FDRntGZZiNM2cAEExOy4wf1zb3ck5IcdQgSYsNF1Q== Date: Thu, 5 Oct 2023 08:49:23 +0200 (CEST) From: Nils Landt To: "help-guix@gnu.org" Message-ID: <1933252523.353103.1696488563874@office.mailbox.org> Subject: Store file names / how to intern files in subdirectory? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4S1Mc40x0hz9sR7 Received-SPF: pass client-ip=2001:67c:2050:0:465::201; envelope-from=nils@landt.email; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.98 X-Migadu-Spam-Score: -5.98 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: A13474E440 X-TUID: 1ez3Ge/vf7Jv Hello, I'm working on my home-systemd-service, and systemd cares about the file name behind links. Specifically, it emits a warning when the file name of the link target does not match the link name. Example: ls -alh ~/.config/systemd/user/default.target.wants/greenclip.service -> /home/nl/.config/systemd/user/default.target.wants/greenclip.service -> /gnu/store/pznbc8xxhfkwxjbaff9h982cy4df1y1a-greenclip.service results in this log message: "default.target: Wants dependency dropin /home/nl/.config/systemd/user/default.target.wants/greenclip.service target /gnu/store/pznbc8xxhfkwxjbaff9h982cy4df1y1a-greenclip.service has different name". Still, I would like to fix this warning. The file is a serialized configuration created with (mixed-text-file "greenclip.service" (serialize-configuration ...)). If I change the first argument to "test/greenclip.service", I get an error, so it's really just the file name, not a path. I understand it makes no sense to try to get /gnu/store/greenclip.service, but would it be possible to achieve /gnu/store/pznbc8xxhfkwxjbaff9h982cy4df1y1a-greenclip.service/some-directory/greenclip.service? Or are files always saved at the "top level" of the store? Nils