[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/54: bootstrap-gash-rewire? WIP
From: |
guix-commits |
Subject: |
13/54: bootstrap-gash-rewire? WIP |
Date: |
Fri, 22 Nov 2019 18:17:47 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 181c0a6ea930eb29d7484b36e3f0753e2eb188bf
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sat Sep 21 18:57:27 2019 +0200
bootstrap-gash-rewire? WIP
---
gnu/packages/commencement.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c5ea10e..bae8446 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -84,6 +84,48 @@
;;;
;;; Code:
+;; FIXME: must rewire because store hashes must also first be removed?
+;; (use-modules (gnu packages shells))
+;; (define %bootstrap-gash-rewired
+;; (package-with-bootstrap-guile
+;; (package
+;; (inherit gash)
+;; (name "bootstrap-gash-rewired")
+;; (source #f)
+;; (native-inputs `(("gash" ,%bootstrap-gash)
+;; ("guile" ,%bootstrap-guile)))
+;; (inputs '())
+;; (propagated-inputs '())
+;; (outputs '("out"))
+;; (build-system trivial-build-system)
+;; (arguments
+;; `(#:guile ,%bootstrap-guile
+;; #:modules ((guix build utils))
+;; #:builder (begin
+;; (use-modules (guix build utils))
+;; (let* ((gash (assoc-ref %build-inputs "gash"))
+;; (guile (assoc-ref %build-inputs "guile"))
+;; (gash-bin (string-append gash "/bin"))
+;; (gash-lib (string-append gash "/lib"))
+;; (out (assoc-ref %outputs "out"))
+;; (bin (string-append out "/bin"))
+;; (lib (string-append out "/lib")))
+
+;; (define (rewire-script script)
+;; (substitute* script
+;; ((gash) out)
+;; ;;(("/gnu/store[^ ]+guile-bootstrap[^/]*") guile)
+;; ((".guile-real") "guile")))
+
+;; (format (current-error-port) "bootstrap guile: ~s\n"
guile)
+;; (mkdir-p bin)
+;; (for-each (lambda (file) (install-file file bin))
+;; (find-files gash-bin))
+;; (copy-recursively gash-lib lib)
+;; (for-each rewire-script (find-files bin))
+;; #t)))))))
+;; (define %bootstrap-gash-rewired %bootstrap-gash)
+
(define nyacc-boot
;; The regular Nyacc has a snippet fix in source, which leads to tar.xz.
;; During bootstrap we can only unzip .gz.
- 05/54: bootstrap: Add %gash-bootstrap-guile, %gash-bootstrap-tarball., (continued)
- 05/54: bootstrap: Add %gash-bootstrap-guile, %gash-bootstrap-tarball., guix-commits, 2019/11/22
- 02/54: gnu: Add gash-core-utils., guix-commits, 2019/11/22
- 07/54: gnu: mes: Update to 0.21 WIP, guix-commits, 2019/11/22
- 04/54: bootstrap: Add gash-core-utils-boot., guix-commits, 2019/11/22
- 03/54: bootstrap: Add gash-boot., guix-commits, 2019/11/22
- 10/54: bootstrap: bootstrap-mescc-tools: Update for mescc-tools-0.6.1., guix-commits, 2019/11/22
- 09/54: bootstrap: mes-minimal: Update for mes-0.20., guix-commits, 2019/11/22
- 08/54: bootstrap: mescc-tools-static: Update for mescc-tools-0.6.1., guix-commits, 2019/11/22
- 06/54: bootstrap: Add %bootstrap-gash. WIP, guix-commits, 2019/11/22
- 12/54: bootstrap: nyacc-boot. WIP, guix-commits, 2019/11/22
- 13/54: bootstrap-gash-rewire? WIP,
guix-commits <=
- 15/54: bootstrap: tcc-boot0: Scheme-only bootstrap. WIP, guix-commits, 2019/11/22
- 14/54: bootstrap: mes-boot: Scheme-only bootstrap. WIP, guix-commits, 2019/11/22
- 11/54: bootstrap: bootstrap-mes: Update for mes-0.21. WIP, guix-commits, 2019/11/22
- 16/54: bootstrap: Add gzip-mesboot0., guix-commits, 2019/11/22
- 19/54: bootstrap: Add bash-mesboot0., guix-commits, 2019/11/22
- 17/54: bootstrap: make-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/22
- 22/54: bootstrap: Add patch-mesboot0., guix-commits, 2019/11/22
- 24/54: bootstrap: binutils-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/22
- 31/54: bootstrap: gcc-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/22
- 23/54: bootstrap: Add sed-mesboot0., guix-commits, 2019/11/22