me
/
guix
Archived
1
0
Fork 0

gnu: guix: Update snapshot.

* gnu/packages/package-management.scm (guix-devel): Update snapshot.
  Remove now-unneeded sub-module stuff in the 'bootstrap' phase.
master
Ludovic Courtès 2015-01-13 11:41:51 +01:00
parent 765f0ac8f9
commit 2e69dd8c1d
1 changed files with 4 additions and 23 deletions

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -118,42 +118,23 @@ the Nix package manager.")
(define guix-devel (define guix-devel
;; Development version of Guix. ;; Development version of Guix.
(let ((commit "3b09332")) (let ((commit "4655005"))
(package (inherit guix-0.8) (package (inherit guix-0.8)
(version (string-append "0.8." commit)) (version (string-append "0.8." commit))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "git://git.sv.gnu.org/guix.git") (url "git://git.sv.gnu.org/guix.git")
(commit commit) (commit commit)))
(recursive? #t)))
(sha256 (sha256
(base32 (base32
"1szlyhpy688ca96kfyjb6cdy5zhxvqmdig4m7ql7rjqfmz0gvka1")))) "04dmmnr88mwpsl0mmv03hpllyinn9cs4mmly8k0jm2acwnsni3ii"))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments guix-0.8) (substitute-keyword-arguments (package-arguments guix-0.8)
((#:phases phases) ((#:phases phases)
`(alist-cons-before `(alist-cons-before
'configure 'bootstrap 'configure 'bootstrap
(lambda _ (lambda _
;; Comment out `git' invocations, since 'git-fetch' provides us
;; with a checkout that includes sub-modules.
(substitute* "bootstrap"
(("git ")
"true git "))
;; Keep a list of the files already available under nix/...
(call-with-output-file "ls-R"
(lambda (port)
(for-each (lambda (file)
(format port "~a~%" file))
(find-files "nix" ""))))
;; ... and use that as a substitute to 'git ls-tree'.
(substitute* "nix/sync-with-upstream"
(("git ls-tree HEAD -- [[:graph:]]+")
"cat ls-R"))
;; Make sure 'msgmerge' can modify the PO files. ;; Make sure 'msgmerge' can modify the PO files.
(for-each (lambda (po) (for-each (lambda (po)
(chmod po #o666)) (chmod po #o666))