guix-commits
[Top][All Lists]
Advanced

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

05/10: build-system/gnu: Remove redundant 'unpack' phase from 'gnu-dist'


From: guix-commits
Subject: 05/10: build-system/gnu: Remove redundant 'unpack' phase from 'gnu-dist'.
Date: Wed, 17 Jun 2020 13:33:13 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit dabbddbbaae23ab512495c5505d99fa112a4b09e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Jun 17 15:23:32 2020 +0200

    build-system/gnu: Remove redundant 'unpack' phase from 'gnu-dist'.
    
    This has become redundant with the standard 'unpack' phase since
    17919a58012c38052133ed029450fdb98d01fb5c.
    
    * guix/build/gnu-dist.scm (copy-source): Remove.
    (%dist-phases): Remove 'unpack' phase.
---
 guix/build/gnu-dist.scm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/guix/build/gnu-dist.scm b/guix/build/gnu-dist.scm
index 727ddfa..f84430f 100644
--- a/guix/build/gnu-dist.scm
+++ b/guix/build/gnu-dist.scm
@@ -30,9 +30,6 @@
 ;;;
 ;;; Code:
 
-(define* (copy-source #:key source #:allow-other-keys)
-  (copy-recursively source "."))
-
 (define* (build #:key build-before-dist? make-flags (dist-target "distcheck")
                 #:allow-other-keys
                 #:rest args)
@@ -57,7 +54,6 @@
   (modify-phases %standard-phases
     (delete 'strip)
     (replace 'install install-dist)
-    (replace 'build build)
-    (replace 'unpack copy-source)))
+    (replace 'build build)))
 
 ;;; gnu-dist.scm ends here



reply via email to

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