diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 1a22d230d2..3a46ab086c 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -106,8 +106,7 @@ (define-public webrtc-for-telegram-desktop
                   (for-each delete-file-recursively
                             (lset-difference string=?
                                              (scandir ".")
-                                             (cons* "." ".." keep))))
-                #t)))))
+                                             (cons* "." ".." keep)))))))))
        (build-system cmake-build-system)
        (arguments
         `(#:tests? #f                   ; No target
@@ -126,52 +125,52 @@ (define-public webrtc-for-telegram-desktop
                        (libyuv-to (string-append (getcwd)
                                                  "/src/third_party/libyuv")))
                   (copy-recursively libvpx-from libvpx-to)
-                  (copy-recursively libyuv-from libyuv-to))
-                #t)))))
-       (native-inputs
-        `(("perl" ,perl)
-          ("pkg-config" ,pkg-config)
-          ("python" ,python-wrapper)
-          ("yasm" ,yasm)))
+                  (copy-recursively libyuv-from libyuv-to)))))))
+       (native-inputs (list perl pkg-config python-wrapper yasm))
        (inputs
-        `(("alsa" ,alsa-lib)
-          ("ffmpeg" ,ffmpeg)
-          ("libjpeg" ,libjpeg-turbo)
-          ("glib" ,glib)
-          ("libvpx"
-           ,(origin
-              (method git-fetch)
-              (uri
-               (git-reference
-                (url "https://chromium.googlesource.com/webm/libvpx")
-                (commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")))
-              (file-name
-               (git-file-name "libvpx-for-webrtc-for-telegram-desktop" version))
-              (sha256
-               (base32 "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68"))))
-          ("libyuv"
-           ,(origin
-              (method git-fetch)
-              (uri
-               (git-reference
-                (url "https://chromium.googlesource.com/libyuv/libyuv")
-                (commit "ad890067f661dc747a975bc55ba3767fe30d4452")))
-              (file-name
-               (git-file-name "libyuv-for-webrtc-for-telegram-desktop" version))
-              (sha256
-               (base32 "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll"))))
-          ("libxcomposite" ,libxcomposite)
-          ("libxdamage" ,libxdamage)
-          ("libxrender" ,libxrender)
-          ("libxrandr" ,libxrandr)
-          ("openssl" ,openssl)
-          ("opus" ,opus)
-          ("pipewire" ,pipewire)
-          ("protobuf" ,protobuf)
-          ("pulseaudio" ,pulseaudio)
-          ("x11" ,libx11)
-          ("xext" ,libxext)
-          ("xtst" ,libxtst)))
+        (modify-inputs
+            `(("libvpx"
+               ,(origin
+                  (method git-fetch)
+                  (uri
+                   (git-reference
+                    (url "https://chromium.googlesource.com/webm/libvpx")
+                    (commit "5b63f0f821e94f8072eb483014cfc33b05978bb9")))
+                  (file-name
+                   (git-file-name
+                    "libvpx-for-webrtc-for-telegram-desktop" version))
+                  (sha256
+                   (base32
+                    "1psvxaddihlw1k5n0anxif3qli6zyw2sa2ywn6mkb8six9myrp68"))))
+              ("libyuv"
+               ,(origin
+                  (method git-fetch)
+                  (uri
+                   (git-reference
+                    (url "https://chromium.googlesource.com/libyuv/libyuv")
+                    (commit "ad890067f661dc747a975bc55ba3767fe30d4452")))
+                  (file-name
+                   (git-file-name
+                    "libyuv-for-webrtc-for-telegram-desktop" version))
+                  (sha256
+                   (base32
+                    "01knnk4h247rq536097n9n3s3brxlbby3nv3ppdgsqfda3k159ll")))))
+          (append alsa-lib
+                  ffmpeg
+                  libjpeg-turbo
+                  glib
+                  libxcomposite
+                  libxdamage
+                  libxrender
+                  libxrandr
+                  openssl
+                  opus
+                  pipewire
+                  protobuf
+                  pulseaudio
+                  libx11
+                  libxext
+                  libxtst)))
        (synopsis "WebRTC support for Telegram Desktop")
        (description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by
 Telegram project, for its use in telegram desktop client.")
