diff --git a/containers/camptules.nix b/containers/camptules.nix index c56ef82..cb3a007 100644 --- a/containers/camptules.nix +++ b/containers/camptules.nix @@ -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" diff --git a/flake.lock b/flake.lock index 064eab5..6a6ad5b 100644 --- a/flake.lock +++ b/flake.lock @@ -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": {