aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2025-03-21 09:55:02 +0100
committerW. Kosior <koszko@koszko.org>2025-03-21 13:59:29 +0100
commit3cf071721b2947168bbfd1e9a45c6b42ea79062f (patch)
tree88badd231720bde8433b25d973b2a9c00c26e979
parent72ddbb1f078ae0c2422f0b451d47635c8173e118 (diff)
downloadguix-3cf071721b2947168bbfd1e9a45c6b42ea79062f.tar.gz
guix-3cf071721b2947168bbfd1e9a45c6b42ea79062f.zip
build: Fix generation of `guix-gc.timer' file in VPATH builds.
* nix/local.mk (etc/guix-%.service): Replace `$@.in' with `$<'. Change-Id: I247c46faeaf0bff229e052365118fe79c0eea8d8
-rw-r--r--nix/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/local.mk b/nix/local.mk
index 53938ff52a..b66f2131ab 100644
--- a/nix/local.mk
+++ b/nix/local.mk
@@ -179,7 +179,7 @@ etc/guix-%.service: etc/guix-%.service.in \
etc/guix-gc.timer: etc/guix-gc.timer.in \
$(top_builddir)/config.status
$(AM_V_GEN)$(MKDIR_P) "`dirname $@`"; \
- cp "$@.in" "$@"
+ cp "$<" "$@"
# The service script for sysvinit.
sysvinitservicedir = $(sysconfdir)/init.d