Subject: bug#76015: closed (Re: [PATCH] gnu: haruna: Fix finding yt-dlp.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 03 Mar 2025 21:33:02 +0000

Your bug report

#76015: [PATCH] gnu: haruna: Fix finding yt-dlp.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
76015: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76015
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: haruna: Fix finding yt-dlp.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: Z572 <[email-masked]>, Sughosha <[email-masked]>
Date: Mon, 03 Mar 2025 22:32:21 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

> * gnu/packages/kde-multimedia.scm (haruna)[arguments]<#:phases>: Add
> fix-yt-dlp-path.

Closing as this is already applied.

Thanks.
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: haruna: Fix finding yt-dlp.
From: Sughosha <[email-masked]>
To: [email-masked]
Cc: Sughosha <[email-masked]>
Date: Sun, 2 Feb 2025 21:42:21 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/kde-multimedia.scm (yt-dlp)[arguments]<#:phases>: Add wrap-path.

Change-Id: I4f2f7303b02441399c042d4bdd8e7586adfd9fe3
---
 gnu/packages/kde-multimedia.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index ad0b504268..4d859cdedb 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -156,7 +156,15 @@ (define-public haruna
                (base32 "0gvwsxlrwn2s6i4agmwa0r1lq1fybfyxv933g2z3n76qnn9mkbrb"))))
     (build-system qt-build-system)
     (arguments
-     (list #:qtbase qtbase))
+     (list #:qtbase qtbase
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'qt-wrap 'wrap-path
+                 (lambda _
+                   (wrap-program (string-append #$output "/bin/haruna")
+                     `("PATH" ":" prefix
+                       (,(string-append #$(this-package-input "yt-dlp")
+                                       "/bin")))))))))
     (native-inputs
      (list extra-cmake-modules))
     (inputs

base-commit: 070c073d508d3197f0235adc424aec287e7dd916
-- 
2.47.1