[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: guix: nar: Update path-id to valid-path-id.
From: |
guix-commits |
Subject: |
03/07: guix: nar: Update path-id to valid-path-id. |
Date: |
Sun, 7 Apr 2024 14:48:23 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit acd3cb258fe68548b3c14b3b7819a46e2cd2da97
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sun Apr 7 19:32:33 2024 +0100
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(-)
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))
- branch master updated (78390634d7 -> 298aed72a2), guix-commits, 2024/04/07
- 03/07: guix: nar: Update path-id to valid-path-id.,
guix-commits <=
- 01/07: scripts: system: Rename `sqlite-register'., guix-commits, 2024/04/07
- 06/07: gnu: octave-cli: Update to 9.1.0., guix-commits, 2024/04/07
- 04/07: gnu: Add xssstate., guix-commits, 2024/04/07
- 07/07: gnu: open-ssh-session: Don’t require public key., guix-commits, 2024/04/07
- 05/07: gnu: Add python-shshsh., guix-commits, 2024/04/07
- 02/07: store: database: Use correct function name in assertion., guix-commits, 2024/04/07