From e7a37c92ba0eae35d5e83fee27e2d9274235f593 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 10 Jan 2022 21:51:20 +0100 Subject: [PATCH 1/2] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file changes: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c6019d8efb5530dcf7ce98086b8e091be5ff900a' (2022-01-03) → 'github:NixOS/nixpkgs/79c7b6a353e22f0eec342dead0bc69fb7ce846db' (2022-01-10) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/78cd22c1b8604de423546cd49bfe264b786eca13' (2022-01-03) → 'github:NixOS/nixpkgs/0ecf7d414811f831060cf55707c374d54fbb1dec' (2022-01-09) --- flake.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index fdf089b..847af12 100644 --- a/flake.lock +++ b/flake.lock @@ -75,11 +75,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1641244400, - "narHash": "sha256-8i4oasWEz/2y9U+F1XU15jfwSbd5YOEBh2tyBBm/W8E=", + "lastModified": 1641783572, + "narHash": "sha256-gkrIuUtbRKGEb+SrBVl6hEG4PY9rg+zhDyX0n3mRFMY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c6019d8efb5530dcf7ce98086b8e091be5ff900a", + "rev": "79c7b6a353e22f0eec342dead0bc69fb7ce846db", "type": "github" }, "original": { @@ -105,11 +105,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1641230035, - "narHash": "sha256-hFyqihERaTbLxCOlugy/rpp22VLtLh8SPRnA2uu3F/8=", + "lastModified": 1641710811, + "narHash": "sha256-yVJ+CtwWZY8BnkNIJ/ue5a28yrRM6CkDF1LvmGmqqwM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "78cd22c1b8604de423546cd49bfe264b786eca13", + "rev": "0ecf7d414811f831060cf55707c374d54fbb1dec", "type": "github" }, "original": { From 6cb28432a0a7e0c74ed47f840b157141af4f9359 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 10 Jan 2022 21:57:36 +0100 Subject: [PATCH 2/2] patch jellyfin-ffmpeg --- flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index 1a97e1f..6926579 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,14 @@ supportedSystems = [ "x86_64-linux" ]; + channels.nixpkgs.patches = [ + (nixpkgs.legacyPackages."x86_64-linux".fetchpatch { + name = "jellyfin-ffmpeg.patch"; + url = "https://github.com/NixOS/nixpkgs/pull/151617.patch"; + sha256 = "sha256-wyHZf5diFV36h9qiSrvhpRlYGJRiXxPYqxwDEz7obvk="; + }) + ]; + hostDefaults.modules = [ nixpkgs.nixosModules.notDetected {