aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-01-02 10:55:25 +0000
committerChristopher Baines <mail@cbaines.net>2021-01-02 10:55:25 +0000
commite85131a004b878c8ef457a6c62526a3b7ead625d (patch)
tree810b73d3728a0a93014fcfca211c0c8fc9c107ec /guix-data-service/model
parentd8e0b24e4c926efce73a12524cbfa53aaa28b71b (diff)
downloaddata-service-e85131a004b878c8ef457a6c62526a3b7ead625d.tar
data-service-e85131a004b878c8ef457a6c62526a3b7ead625d.tar.gz
Fix squee compatability issues for serving derivations
Diffstat (limited to 'guix-data-service/model')
-rw-r--r--guix-data-service/model/derivation.scm4
1 files 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