aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-02-08 17:53:52 +0000
committerChristopher Baines <mail@cbaines.net>2023-02-08 17:53:52 +0000
commite730d53742ca4d1b35af8db7ac52f50e90d617b3 (patch)
treee128555fdf4a83bdd7164b891533b83a3ccf9d21
parent39cf2280bb87a2f177b4cb8334c5eb7ad95a0d17 (diff)
downloadnar-herder-e730d53742ca4d1b35af8db7ac52f50e90d617b3.tar
nar-herder-e730d53742ca4d1b35af8db7ac52f50e90d617b3.tar.gz
Fix import time reference checking
-rw-r--r--scripts/nar-herder.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index 7524308..9e70b77 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -325,7 +325,7 @@
(lambda (reference)
(unless (database-select-narinfo-by-hash
database
- (string-take (basename narinfo-file) 32))
+ (string-take reference 32))
(error
(simple-format (current-error-port)
"missing reference to ~A\n"