aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model
diff options
context:
space:
mode:
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