summaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index 1394f980f7..ea5302e60b 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -261,7 +261,7 @@ recursively."
(cache package system
(apply builder
store (package-full-name package)
- (package-source-derivation store source)
+ (and source (package-source-derivation store source))
inputs
#:outputs outputs #:system system
(if (procedure? args)