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'.
This commit is contained in:
Ludovic Courtès 2017-11-30 11:14:34 +01:00
parent d65d7759f0
commit 8833a647bb
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -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)))