summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/build.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 831ac8f798..65a125263d 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -202,11 +202,7 @@ the new package's version number from URI."
                             (package-version p)))
 
                ;; Use #:recursive? #t to allow for directories.
-               (source (downloaded-file uri #t))
-
-               ;; Override the replacement, otherwise '--with-source' would
-               ;; have no effect.
-               (replacement #f)))))
+               (source (downloaded-file uri #t))))))
 
 
 ;;;