mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: tlp: Wrap sbin folder
Seems that tlp recently introduced sbin folder, this has broken the wrapping for tlp script. The tlp script can fail in finding runtime dependencies. * gnu/packages/linux.scm (tlp): Wrap sbin folder Change-Id: Id006f21fb42e385dade732b9d237b045f3a863e7 Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
parent
e04ae1c7ba
commit
4ba86fd308
1 changed files with 4 additions and 2 deletions
|
@ -8230,7 +8230,9 @@ interface in sysfs, which can be accomplished with the included udev rules.")
|
||||||
(add-after 'install 'wrap
|
(add-after 'install 'wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
|
(let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
|
||||||
(bin-files (find-files bin ".*")))
|
(sbin (string-append (assoc-ref outputs "out") "/sbin"))
|
||||||
|
(bin-files (find-files bin ".*"))
|
||||||
|
(sbin-files (find-files sbin ".*")))
|
||||||
(define (bin-directory input-name)
|
(define (bin-directory input-name)
|
||||||
(let ((p (assoc-ref inputs input-name)))
|
(let ((p (assoc-ref inputs input-name)))
|
||||||
(and p (string-append p "/bin"))))
|
(and p (string-append p "/bin"))))
|
||||||
|
@ -8260,7 +8262,7 @@ interface in sysfs, which can be accomplished with the included udev rules.")
|
||||||
"pciutils"
|
"pciutils"
|
||||||
"rfkill"
|
"rfkill"
|
||||||
"wireless-tools"))))))
|
"wireless-tools"))))))
|
||||||
bin-files)))))))
|
(append bin-files sbin-files))))))))
|
||||||
(home-page "https://linrunner.de/en/tlp/tlp.html")
|
(home-page "https://linrunner.de/en/tlp/tlp.html")
|
||||||
(synopsis "Power management tool for Linux")
|
(synopsis "Power management tool for Linux")
|
||||||
(description "TLP is a power management tool for Linux. It comes with
|
(description "TLP is a power management tool for Linux. It comes with
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue