summary refs log tree commit diff
path: root/build-aux/compile-as-derivation.scm
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/compile-as-derivation.scm')
-rw-r--r--build-aux/compile-as-derivation.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/compile-as-derivation.scm b/build-aux/compile-as-derivation.scm
index afb134a92a..2a45e71bb9 100644
--- a/build-aux/compile-as-derivation.scm
+++ b/build-aux/compile-as-derivation.scm
@@ -43,7 +43,7 @@
            (mlet* %store-monad ((source (interned-file source "guix-source"
                                                        #:select? git?
                                                        #:recursive? #t))
-                                (drv    (build source)))
+                                (drv    (build source #:pull-version 1)))
              (mbegin %store-monad
                (show-what-to-build* (list drv))
                (built-derivations (list drv))