diff options
-rw-r--r-- | guix/packages.scm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/guix/packages.scm b/guix/packages.scm index 41d98e1414..0e18f520a8 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -566,17 +566,17 @@ specifies modules in scope when evaluating SNIPPET." (for-each apply-patch '#+patches) - (unless #+@(if snippet - #~((let ((module (make-fresh-user-module))) - (module-use-interfaces! - module - (map resolve-interface '#+modules)) - ((@ (system base compile) compile) - '#+snippet - #:to 'value - #:opts %auto-compilation-options - #:env module))) - #~()) + (unless #+(if snippet + #~(let ((module (make-fresh-user-module))) + (module-use-interfaces! + module + (map resolve-interface '#+modules)) + ((@ (system base compile) compile) + '#+snippet + #:to 'value + #:opts %auto-compilation-options + #:env module)) + #~#t) (format (current-error-port) "snippet returned false, indicating failure~%")) |