Remove yt-dlp mitigation

This commit is contained in:
NullBite 2024-10-29 21:04:51 +01:00
parent 2b6e1f515f
commit cff22b8678
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
3 changed files with 0 additions and 25 deletions

17
flake.lock generated
View File

@ -1005,22 +1005,6 @@
"type": "github"
}
},
"nixpkgs-yt-dlp-2024": {
"locked": {
"lastModified": 1716813593,
"narHash": "sha256-862V4NORGlvQ6g8Y5ZSBrtosqYep2lXGsywTcV6OvHw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "528db5fa94041f0b4909a855d8b9fb9b44fa4f5d",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "528db5fa94041f0b4909a855d8b9fb9b44fa4f5d",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1729449015,
@ -1106,7 +1090,6 @@
"nixpkgs": "nixpkgs_2",
"nixpkgs-nix-du": "nixpkgs-nix-du",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixpkgs-yt-dlp-2024": "nixpkgs-yt-dlp-2024",
"rust-overlay": "rust-overlay_2",
"stylix": "stylix",
"systems": "systems_9"

View File

@ -6,8 +6,6 @@
# ^^^^^^^^^^^^^ this part is optional
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs-yt-dlp-2024.url = "github:NixOS/nixpkgs/528db5fa94041f0b4909a855d8b9fb9b44fa4f5d";
nixpkgs-nix-du.url = "github:NixOS/nixpkgs/c933cf4698e5189b35dd83bf4d7a81aef16d464a";
# this seems to be a popular way to declare systems

View File

@ -37,12 +37,6 @@ in {
gimp-with-plugins = gimp-with-plugins-good;
yt-dlp = let
pkgs-y = (import nixfiles.inputs.nixpkgs-yt-dlp-2024.outPath) { inherit (prev) system;};
in if ((builtins.compareVersions "2024.5.27" prev.yt-dlp.version) == 1)
then (final.python3Packages.toPythonApplication pkgs-y.python3Packages.yt-dlp)
else prev.yt-dlp;
easyeffects = let
stable = pkgsStable.easyeffects;
unstable = prev.easyeffects;