mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: smartmontools: Fix PATH in smartd_warning.sh.
The script started with reset of the $PATH to a value not suitable to Guix. In addition, the script requires coreutils and sed, so add those into the $PATH. * gnu/packages/admin.scm (smartmontools)[inputs]: Add sed, coreutils-minimal. [arguments]<#:configure-flags>: Pass --with-scriptpath=. Change-Id: Ide97f572e6f369fe24337f945474dc7a65584eda Signed-off-by: Hilton Chain <hako@ultrarare.space> Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
41ab2ddd9b
commit
f7fc4caf7d
1 changed files with 12 additions and 3 deletions
|
@ -3051,9 +3051,18 @@ various ways that may be running with too much privilege.")
|
||||||
"0gcrzcb4g7f994n6nws26g6x15yjija1gyzd359sjv7r3xj1z9p9"))))
|
"0gcrzcb4g7f994n6nws26g6x15yjija1gyzd359sjv7r3xj1z9p9"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:make-flags
|
(list
|
||||||
#~(list "BUILD_INFO=\"(Guix)\"")))
|
#:make-flags
|
||||||
(inputs (list libcap-ng))
|
#~(list "BUILD_INFO=\"(Guix)\"")
|
||||||
|
#:configure-flags
|
||||||
|
#~(list (format #f "--with-scriptpath=~{~a:~}$PATH"
|
||||||
|
(map (lambda (pkg)
|
||||||
|
(in-vicinity pkg "bin"))
|
||||||
|
'#$(list (this-package-input "coreutils-minimal")
|
||||||
|
(this-package-input "sed")))))))
|
||||||
|
(inputs (list coreutils-minimal
|
||||||
|
libcap-ng
|
||||||
|
sed))
|
||||||
(home-page "https://www.smartmontools.org/")
|
(home-page "https://www.smartmontools.org/")
|
||||||
(synopsis "S.M.A.R.T. harddisk control and monitoring tools")
|
(synopsis "S.M.A.R.T. harddisk control and monitoring tools")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue