From b8bb13f19a2a7e6b8b9140a74ef145f05085570f Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Thu, 18 May 2023 06:11:58 +0200 Subject: [PATCH] attempt to update nitter via overlay (Epic fail!) --- modules/services/nitter.nix | 2 +- overlays/nitter.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 overlays/nitter.nix diff --git a/modules/services/nitter.nix b/modules/services/nitter.nix index 70ddfa5..8d0b341 100644 --- a/modules/services/nitter.nix +++ b/modules/services/nitter.nix @@ -33,7 +33,7 @@ in { services = { nitter = { enable = true; - package = pkgs.unstable.nitter; + package = pkgs.nitter; server = { address = "127.0.0.1"; port = cfg.port; diff --git a/overlays/nitter.nix b/overlays/nitter.nix new file mode 100644 index 0000000..f5c280a --- /dev/null +++ b/overlays/nitter.nix @@ -0,0 +1,12 @@ +self: super: { + nitter = super.nitter.overrideAttrs (old: { + # https://github.com/zedeus/nitter/pull/830 + version = "unstable-2023-04-16"; + src = super.fetchFromGitHub { + owner = "PrivacyDevel"; + repo = "nitter"; + rev = "11279e2b4ff612f523380c2ff4678a056eb5c03c"; + hash = "sha256-GSBtyrrQTYRO9+XNXZsXOtnQ5QrLqmKE81RkuX/btUs="; + }; + }); +}