diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2025-03-22 18:00:22 +0100 |
|---|---|---|
| committer | Ian Eure <ian@retrospec.tv> | 2025-03-22 10:19:46 -0700 |
| commit | 4ba86fd308b1f64deda206235155e577e62025ec (patch) | |
| tree | ce656359f621fe98ac994be51812b3fb3be74dc0 /gnu/packages/linux.scm | |
| parent | e04ae1c7ba66cfc9629be5f573f659f1a65bbb6b (diff) | |
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>
Diffstat (limited to 'gnu/packages/linux.scm')
| -rw-r--r-- | gnu/packages/linux.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c92829c50a1..1417925dc89 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8230,7 +8230,9 @@ interface in sysfs, which can be accomplished with the included udev rules.") (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) (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) (let ((p (assoc-ref inputs input-name))) (and p (string-append p "/bin")))) @@ -8260,7 +8262,7 @@ interface in sysfs, which can be accomplished with the included udev rules.") "pciutils" "rfkill" "wireless-tools")))))) - bin-files))))))) + (append bin-files sbin-files)))))))) (home-page "https://linrunner.de/en/tlp/tlp.html") (synopsis "Power management tool for Linux") (description "TLP is a power management tool for Linux. It comes with |
