summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-07-25 20:15:45 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-26 13:24:23 +0200
commit8b627a77014bc64bae2481fceeb28bcd61035b5b (patch)
tree6f0e4351ccc414df2a95058b7f18daacba532304 /gnu
parent0236013cd0fc86ff4a042885c735e3f36a7f5c25 (diff)
gnu: mes-minimal: Remove unused variable.
* gnu/packages/make-bootstrap.scm (%mes-minimal): Remove unused 'triplet' variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/make-bootstrap.scm49
1 files changed, 24 insertions, 25 deletions
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 60b6f1b42e3..32542f6da78 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -623,31 +623,30 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
623;; Two packages: first build static, bare minimum content. 623;; Two packages: first build static, bare minimum content.
624(define-public %mes-minimal 624(define-public %mes-minimal
625 ;; A minimal Mes without documentation. 625 ;; A minimal Mes without documentation.
626 (let ((triplet "i686-unknown-linux-gnu")) 626 (package
627 (package 627 (inherit mes-0.19)
628 (inherit mes-0.19) 628 (name "mes-minimal")
629 (name "mes-minimal") 629 (native-inputs
630 (native-inputs 630 `(("guile" ,guile-2.2)))
631 `(("guile" ,guile-2.2))) 631 (arguments
632 (arguments 632 `(#:system "i686-linux"
633 `(#:system "i686-linux" 633 #:strip-binaries? #f
634 #:strip-binaries? #f 634 #:configure-flags '("--mes")
635 #:configure-flags '("--mes") 635 #:phases
636 #:phases 636 (modify-phases %standard-phases
637 (modify-phases %standard-phases 637 (delete 'patch-shebangs)
638 (delete 'patch-shebangs) 638 (add-after 'install 'strip-install
639 (add-after 'install 'strip-install 639 (lambda _
640 (lambda _ 640 (let* ((out (assoc-ref %outputs "out"))
641 (let* ((out (assoc-ref %outputs "out")) 641 (share (string-append out "/share")))
642 (share (string-append out "/share"))) 642 (delete-file-recursively (string-append out "/lib/guile"))
643 (delete-file-recursively (string-append out "/lib/guile")) 643 (delete-file-recursively (string-append share "/guile"))
644 (delete-file-recursively (string-append share "/guile")) 644 (delete-file-recursively (string-append share "/mes/scaffold"))
645 (delete-file-recursively (string-append share "/mes/scaffold")) 645
646 646 (for-each delete-file
647 (for-each delete-file 647 (find-files
648 (find-files 648 (string-append share "/mes/lib")
649 (string-append share "/mes/lib") 649 "\\.(h|c)"))))))))))
650 "\\.(h|c)")))))))))))
651 650
652;; next remove store references. 651;; next remove store references.
653(define %mes-minimal-stripped 652(define %mes-minimal-stripped