tests: Use non-deprecated (guix store) API.

This is a followup to f9e8a12379.

* gnu/tests/base.scm (run-basic-test)["/run/current-system is a GC
root"]: Use 'store-protocol-error?' instead of 'nix-protocol-error?'.
master
Ludovic Courtès 2019-03-04 12:22:54 +01:00
parent 3a0babacdc
commit ba926e3534
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ info --version")
(use-modules (srfi srfi-34) (guix store))
(let ((system (readlink "/run/current-system")))
(guard (c ((nix-protocol-error? c)
(guard (c ((store-protocol-error? c)
(and (file-exists? system)
'success!)))
(with-store store