Update flake.lock and remove yt-dlp override

Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
main 2022-07-30 23:40:51 +02:00
parent 2e61e7ef3c
commit baa431aea4
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 4 additions and 16 deletions

View file

@ -19,21 +19,9 @@ nglib.makeSystem {
enable = true;
package =
let
yt-dlp = pkgs.yt-dlp.overrideAttrs (old:
rec {
version = "2021.12.1";
src = pkgs.fetchFromGitHub {
owner = "yt-dlp";
repo = "yt-dlp";
rev = "46383212b336012f14b79839a5b344d35a6c90e4";
sha256 = "sha256-SlJXGsEmJRRMxUx0l3cwcGjJX6YhNNtg7inqHn/ckeE=";
};
}
);
youtube-dl = pkgs.writeShellScriptBin "youtube-dl"
''
${yt-dlp}/bin/yt-dlp "$@"
${pkgs.yt-dlp}/bin/yt-dlp "$@"
'';
in
pkgs.writeShellScriptBin "camptules"

View file

@ -107,11 +107,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1645433236,
"narHash": "sha256-4va4MvJ076XyPp5h8sm5eMQvCrJ6yZAbBmyw95dGyw4=",
"lastModified": 1659077768,
"narHash": "sha256-P0XIHBVty6WIuIrk2DZNvLcYev9956y1prT4zL212H8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7f9b6e2babf232412682c09e57ed666d8f84ac2d",
"rev": "2a93ea177c3d7700b934bf95adfe00c435f696b8",
"type": "github"
},
"original": {