guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/09: guix build: Remove unnecessary (replacement #f).


From: guix-commits
Subject: 02/09: guix build: Remove unnecessary (replacement #f).
Date: Sat, 31 Oct 2020 18:18:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e72cc792631ebccbca44a8b6bc4b55c0835d3849
Author: Ludovic Courtès <ludo@gnu.org>
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))))))
 
 
 ;;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]