Add patch to yt-dlp

This commit is contained in:
Charlotte Van Petegem 2023-04-17 14:06:21 +02:00
parent 8134fc69bb
commit 333c001606
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 14 additions and 2 deletions

View file

@ -49,7 +49,6 @@
okular
ranger
uni
yt-dlp
];
};
};

View file

@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
imports = [
@ -9,4 +9,17 @@
./hledger
./obs
];
home-manager.users.charlotte = { ... }: {
home.packages = with pkgs; [
(yt-dlp.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
(fetchpatch {
url = https://github.com/yt-dlp/yt-dlp/pull/6654.patch;
hash = "sha256-MDQKda37LqvhUhr+0yJqsmziTs/eUZ/LRfKyyVDbrBM=";
})
];
}))
];
};
}