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