[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/35: bootstrap-gash-rewire? WIP
From: |
guix-commits |
Subject: |
22/35: bootstrap-gash-rewire? WIP |
Date: |
Wed, 20 Nov 2019 15:19:39 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit e80405df56691686237fdd1a7272b561acfb50e1
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 1fdc848..0e82b11 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
(package-with-bootstrap-guile
(package
- 11/35: mes: 0.21, (continued)
- 11/35: mes: 0.21, guix-commits, 2019/11/20
- 12/35: bootstrap: mescc-tools-static: Update for mescc-tools-0.6.1., guix-commits, 2019/11/20
- 13/35: bootstrap: mes-minimal: Update for mes-0.20., guix-commits, 2019/11/20
- 19/35: bootstrap: nyacc-boot. WIP, guix-commits, 2019/11/20
- 08/35: gnu: mescc-tools: Update to 0.6.1., guix-commits, 2019/11/20
- 10/35: gnu: mes: Update to 0.21 WIP, guix-commits, 2019/11/20
- 14/35: bootstrap: bootstrap-mescc-tools: Update for mescc-tools-0.6.1., guix-commits, 2019/11/20
- 17/35: bootstrap-mes, guix-commits, 2019/11/20
- 18/35: gnu: mes: Update to 0.20 WIP, guix-commits, 2019/11/20
- 20/35: bootstrap: mes-boot: Scheme-only bootstrap. WIP, guix-commits, 2019/11/20
- 22/35: bootstrap-gash-rewire? WIP,
guix-commits <=
- 24/35: bootstrap: make-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/20
- 25/35: bootstrap: Add bzip2-mesboot0., guix-commits, 2019/11/20
- 26/35: bootstrap: Add bash-mesboot0., guix-commits, 2019/11/20
- 27/35: bootstrap: tcc-boot: Scheme-only bootstrap., guix-commits, 2019/11/20
- 30/35: bootstrap: Add sed-mesboot0., guix-commits, 2019/11/20
- 23/35: bootstrap: Add gzip-mesboot0., guix-commits, 2019/11/20
- 21/35: bootstrap: tcc-boot0: Scheme-only bootstrap. WIP, guix-commits, 2019/11/20
- 28/35: bootstrap: diffuils-mesboot: Scheme-only bootstrap., guix-commits, 2019/11/20
- 32/35: bootstrap: gcc-core-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/20
- 31/35: bootstrap: binutils-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/20