From acd3cb258fe68548b3c14b3b7819a46e2cd2da97 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 7 Apr 2024 19:32:33 +0100 Subject: guix: nar: Update path-id to valid-path-id. To match the change in (guix store database). * guix/nar.scm (finalize-store-file): Update path-id to valid-path-id. Change-Id: I69255c7acc1ea4e4855a4621bfcec54f595dd24d --- guix/nar.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guix') diff --git a/guix/nar.scm b/guix/nar.scm index a817b56007..cabcc4bbbf 100644 --- a/guix/nar.scm +++ b/guix/nar.scm @@ -103,11 +103,11 @@ held." (acquire-lock file))))) (with-database %default-database-file db - (unless (path-id db target) + (unless (valid-path-id db target) (let ((lock (and lock? (acquire-lock (string-append target ".lock"))))) - (unless (path-id db target) + (unless (valid-path-id db target) ;; If FILE already exists, delete it (it's invalid anyway.) (when (file-exists? target) (delete-file-recursively target)) -- cgit v1.2.3