aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-10-28 16:40:08 +0100
committerLudovic Courtès <ludo@gnu.org>2020-10-31 23:16:43 +0100
commite72cc792631ebccbca44a8b6bc4b55c0835d3849 (patch)
tree2f384d0b64d94163bd420cc5563ca7739a1f2487
parent139c4ac1994866250f76f45207e03ca080bad594 (diff)
downloadguix-e72cc792631ebccbca44a8b6bc4b55c0835d3849.tar
guix-e72cc792631ebccbca44a8b6bc4b55c0835d3849.tar.gz
guix build: Remove unnecessary (replacement #f).
* guix/scripts/build.scm (package-with-source): Remove 'replacement' field, which is innate since d5ec5ed7197d121130af6953378bcfd8929a9754.
-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))))))
;;;