about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2020-07-27 18:46:08 +0200
committeraszlig <aszlig@nix.build>2020-07-28 19:25:41 +0200
commit811047bd752ac6861617693ce80c15d13f4fe7fe (patch)
treea18eea96d6441388b767aae6d532f414e0c2846a /machines/aszlig
parent352bf1e58fc8c1272415fadbea9aac3cc8ab8551 (diff)
dnyarri: Add youtube-dl support to gPodder
I'm using gPodder to follow a bunch of YouTube channels and the internal
extractor/downloader tends to be pretty unreliable.

On the other hand, youtube-dl is regularily updated and supports a ton
of different formats.

To make sure we can actually use the extension, gPodder needs to have
access to the youtube_dl Python module, so we need to add it to the
propagatedBuildInputs.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/dnyarri.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix
index 3d9ae86a..fd6ba22c 100644
--- a/machines/aszlig/dnyarri.nix
+++ b/machines/aszlig/dnyarri.nix
@@ -57,7 +57,11 @@ in {
   };
 
   environment.systemPackages = [
-    pkgs.gpodder
+    (pkgs.gpodder.overrideAttrs (drv: {
+      propagatedBuildInputs = (drv.propagatedBuildInputs or []) ++ [
+        pkgs.python3Packages.youtube-dl
+      ];
+    }))
     pkgs.paperwork
   ];