mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: mes-minimal: Remove unused variable.
* gnu/packages/make-bootstrap.scm (%mes-minimal): Remove unused 'triplet' variable.
This commit is contained in:
parent
0236013cd0
commit
8b627a7701
1 changed files with 23 additions and 24 deletions
|
@ -623,31 +623,30 @@ (define %mescc-tools-static-stripped
|
|||
;; Two packages: first build static, bare minimum content.
|
||||
(define-public %mes-minimal
|
||||
;; A minimal Mes without documentation.
|
||||
(let ((triplet "i686-unknown-linux-gnu"))
|
||||
(package
|
||||
(inherit mes-0.19)
|
||||
(name "mes-minimal")
|
||||
(native-inputs
|
||||
`(("guile" ,guile-2.2)))
|
||||
(arguments
|
||||
`(#:system "i686-linux"
|
||||
#:strip-binaries? #f
|
||||
#:configure-flags '("--mes")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'patch-shebangs)
|
||||
(add-after 'install 'strip-install
|
||||
(lambda _
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
(share (string-append out "/share")))
|
||||
(delete-file-recursively (string-append out "/lib/guile"))
|
||||
(delete-file-recursively (string-append share "/guile"))
|
||||
(delete-file-recursively (string-append share "/mes/scaffold"))
|
||||
(package
|
||||
(inherit mes-0.19)
|
||||
(name "mes-minimal")
|
||||
(native-inputs
|
||||
`(("guile" ,guile-2.2)))
|
||||
(arguments
|
||||
`(#:system "i686-linux"
|
||||
#:strip-binaries? #f
|
||||
#:configure-flags '("--mes")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'patch-shebangs)
|
||||
(add-after 'install 'strip-install
|
||||
(lambda _
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
(share (string-append out "/share")))
|
||||
(delete-file-recursively (string-append out "/lib/guile"))
|
||||
(delete-file-recursively (string-append share "/guile"))
|
||||
(delete-file-recursively (string-append share "/mes/scaffold"))
|
||||
|
||||
(for-each delete-file
|
||||
(find-files
|
||||
(string-append share "/mes/lib")
|
||||
"\\.(h|c)")))))))))))
|
||||
(for-each delete-file
|
||||
(find-files
|
||||
(string-append share "/mes/lib")
|
||||
"\\.(h|c)"))))))))))
|
||||
|
||||
;; next remove store references.
|
||||
(define %mes-minimal-stripped
|
||||
|
|
Loading…
Reference in a new issue