1
0
mirror of https://codeberg.org/hako/Rosenthal.git synced 2025-06-08 20:15:19 +00:00
Rosenthal/modules/rosenthal/packages/busybox.scm
Hilton Chain cba8ab4bfc
maint: Add more manifests.
* etc/committer.scm: New file.
* etc/manifests/all-packages.scm: New file.
* etc/manifests/auto-update.scm: New file.
* etc/manifests/manual-update.scm: New file.
* etc/manifest.scm: Delete file.
2025-05-15 16:30:39 +08:00

32 lines
1.0 KiB
Scheme

;; SPDX-FileCopyrightText: 2022 Hilton Chain <hako@ultrarare.space>
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
(define-module (rosenthal packages busybox)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages busybox))
(define-public busybox/static
(let ((base busybox))
(package
(inherit base)
(name "busybox-static")
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:phases phases)
#~(modify-phases #$phases
(add-after 'configure 'static-build
(lambda _
(substitute* ".config"
(("# CONFIG_STATIC is not set")
"CONFIG_STATIC=y"))))
;; FIXME: All mdev tests fail when building staticly.
(add-before 'check 'disable-failing-tests
(lambda _
(delete-file "testsuite/mdev.tests")))))))
(properties
`(,@(package-properties base)
(rosenthal-update? . #f))))))