civodul pushed a commit to branch master
in repository guix.
commit e72cc792631ebccbca44a8b6bc4b55c0835d3849
Author: Ludovic Courtès <[email protected]>
AuthorDate: Wed Oct 28 16:40:08 2020 +0100
guix build: Remove unnecessary (replacement #f).
* guix/scripts/build.scm (package-with-source): Remove 'replacement'
field, which is innate since d5ec5ed7197d121130af6953378bcfd8929a9754.
---
guix/scripts/build.scm | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 831ac8f..65a1252 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))))))
;;;