aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/package-management.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-30 11:14:34 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-30 11:14:34 +0100
commit8833a647bbe444b7a981d0ff977f8132b7d6fddb (patch)
tree92025ee16bac3236820616c268c483a85f015439 /gnu/packages/package-management.scm
parentd65d7759f0b8bc3068de7beda319da3877c678fc (diff)
downloadguix-8833a647bbe444b7a981d0ff977f8132b7d6fddb.tar
guix-8833a647bbe444b7a981d0ff977f8132b7d6fddb.tar.gz
gnu: guix: Move 'bootstrap' phase after 'unpack'.
Suggested by Mark H Weaver <mhw@netris.org> at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00389.html>. * gnu/packages/package-management.scm (guix)[arguments]: Move 'bootstrap' phase back after 'unpack'.
Diffstat (limited to 'gnu/packages/package-management.scm')
-rw-r--r--gnu/packages/package-management.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index ac697512d6..3bc0473b9f 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -136,13 +136,15 @@
(ice-9 rdelim))
#:phases (modify-phases %standard-phases
- (add-before 'configure 'bootstrap
+ (add-after 'unpack 'bootstrap
(lambda _
;; Make sure 'msgmerge' can modify the PO files.
(for-each (lambda (po)
(chmod po #o666))
(find-files "." "\\.po$"))
+ (patch-shebang "build-aux/git-version-gen")
+
(call-with-output-file ".tarball-version"
(lambda (port)
(display ,version port)))