This is an automated email from the git hooks/post-receive script.
cbaines pushed a commit to branch master
in repository data-service.
The following commit(s) were added to refs/heads/master by this push:
new e85131a Fix squee compatability issues for serving derivations
e85131a is described below
commit e85131a004b878c8ef457a6c62526a3b7ead625d
Author: Christopher Baines <[email protected]>
AuthorDate: Sat Jan 2 10:55:25 2021 +0000
Fix squee compatability issues for serving derivations
---
guix-data-service/model/derivation.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix-data-service/model/derivation.scm
b/guix-data-service/model/derivation.scm
index 22986f8..0dfa66f 100644
--- a/guix-data-service/model/derivation.scm
+++ b/guix-data-service/model/derivation.scm
@@ -1299,8 +1299,8 @@ WHERE derivation_source_files.store_path = $1"
(double-quote
(string-append
(if recursive? "r:" "")
- hash-algorithm))
- (double-quote hash)))))
+ (or hash-algorithm "")))
+ (double-quote (or hash ""))))))
derivation-outputs))
;; Inputs
,(square-brackets-list