summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/guix-daemon.sh4
-rw-r--r--tests/substitute.scm18
2 files changed, 11 insertions, 11 deletions
diff --git a/tests/guix-daemon.sh b/tests/guix-daemon.sh
index 0aee853a0ca..6fc6034cc95 100644
--- a/tests/guix-daemon.sh
+++ b/tests/guix-daemon.sh
@@ -1,5 +1,5 @@
1# GNU Guix --- Functional package management for GNU 1# GNU Guix --- Functional package management for GNU
2# Copyright © 2012, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> 2# Copyright © 2012, 2014-2019, 2026 Ludovic Courtès <ludo@gnu.org>
3# 3#
4# This file is part of GNU Guix. 4# This file is part of GNU Guix.
5# 5#
@@ -48,7 +48,7 @@ Compression: none
48NarSize: 1234 48NarSize: 1234
49References: 49References:
50System: `guile -c '(use-modules (guix)) (display (%current-system))'` 50System: `guile -c '(use-modules (guix)) (display (%current-system))'`
51Deriver: $drv 51Deriver: $(basename $drv)
52EOF 52EOF
53 53
54# Remove the cached narinfo. 54# Remove the cached narinfo.
diff --git a/tests/substitute.scm b/tests/substitute.scm
index 086bd588358..6837e7e868e 100644
--- a/tests/substitute.scm
+++ b/tests/substitute.scm
@@ -168,8 +168,8 @@ Compression: none
168NarHash: sha256:" (bytevector->nix-base32-string 168NarHash: sha256:" (bytevector->nix-base32-string
169 (plain-file-nar-sha256 "Substitutable data.")) " 169 (plain-file-nar-sha256 "Substitutable data.")) "
170NarSize: 42 170NarSize: 42
171References: bar baz 171References: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bar bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-baz
172Deriver: " (%store-prefix) "/foo.drv 172Deriver: cccccccccccccccccccccccccccccccc-foo.drv
173System: mips64el-linux\n")) 173System: mips64el-linux\n"))
174 174
175(define* (call-with-narinfo narinfo thunk 175(define* (call-with-narinfo narinfo thunk
@@ -299,8 +299,8 @@ Compression: none\n")))
299 "Signature: " (signature-field prefix) " 299 "Signature: " (signature-field prefix) "
300NarHash: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 300NarHash: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
301NarSize: 42 301NarSize: 42
302References: bar baz 302References: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bar bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-baz
303Deriver: " (%store-prefix) "/foo.drv 303Deriver: cccccccccccccccccccccccccccccccc-foo.drv
304System: mips64el-linux\n") 304System: mips64el-linux\n")
305 (string-trim-both 305 (string-trim-both
306 (with-output-to-string 306 (with-output-to-string
@@ -318,13 +318,13 @@ System: mips64el-linux\n")
318 (let ((prefix (string-append "StorePath: " (%store-prefix) 318 (let ((prefix (string-append "StorePath: " (%store-prefix)
319 "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo 319 "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo
320NarHash: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 320NarHash: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
321References: bar baz\n"))) 321References: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bar bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-baz\n")))
322 (with-narinfo (string-append prefix 322 (with-narinfo (string-append prefix
323 "Signature: " (signature-field prefix) " 323 "Signature: " (signature-field prefix) "
324URL: example.nar 324URL: example.nar
325Compression: none 325Compression: none
326NarSize: 42 326NarSize: 42
327Deriver: " (%store-prefix) "/foo.drv") 327Deriver: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo.drv")
328 (string-trim-both 328 (string-trim-both
329 (with-output-to-string 329 (with-output-to-string
330 (lambda () 330 (lambda ()
@@ -434,7 +434,7 @@ Compression: none
434NarHash: sha256:" (bytevector->nix-base32-string (sha256 #vu8())) " 434NarHash: sha256:" (bytevector->nix-base32-string (sha256 #vu8())) "
435NarSize: 42 435NarSize: 42
436References: 436References:
437Deriver: " (%store-prefix) "/foo.drv 437Deriver: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo.drv
438System: mips64el-linux\n"))) 438System: mips64el-linux\n")))
439 (with-narinfo (string-append narinfo "Signature: " 439 (with-narinfo (string-append narinfo "Signature: "
440 (signature-field narinfo) "\n") 440 (signature-field narinfo) "\n")
@@ -837,8 +837,8 @@ Compression: none
837NarHash: sha256:" (bytevector->nix-base32-string 837NarHash: sha256:" (bytevector->nix-base32-string
838 (plain-file-nar-sha256 "Substitutable data.")) " 838 (plain-file-nar-sha256 "Substitutable data.")) "
839NarSize: 42 839NarSize: 42
840References: bar baz 840References: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bar bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-baz
841Deriver: " (%store-prefix) "/foo.drv 841Deriver: cccccccccccccccccccccccccccccccc-foo.drv
842System: mips64el-linux\n"))) 842System: mips64el-linux\n")))
843 (with-narinfo (string-append narinfo "Signature: " 843 (with-narinfo (string-append narinfo "Signature: "
844 (signature-field narinfo)) 844 (signature-field narinfo))