build-system/gnu: Remove redundant 'unpack' phase from 'gnu-dist'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 17 Jun 2020 13:23:32 +0000 (15:23 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 17 Jun 2020 17:32:43 +0000 (19:32 +0200)
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

index 727ddfa..f84430f 100644 (file)
@@ -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