From f08718da56bd2717f5b2fde2a06385041852abd2 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 19 Feb 2023 12:01:51 +0000 Subject: [PATCH] Use the Mastodon version from nixpkgs --- README.md | 2 ++ mastodon.nix | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 813ba24..90478d8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ ## Installation notes +0. Use the unstable channel. + 1. Prepare the new machine ([man nixos](https://nixos.org/manual/nixos/stable/#sec-installation)) ``` diff --git a/mastodon.nix b/mastodon.nix index 5bc654a..8296604 100644 --- a/mastodon.nix +++ b/mastodon.nix @@ -7,7 +7,10 @@ let srcOverride = pkgs.applyPatches { src = pkgs.fetchgit { url = "https://github.com/mastodon/mastodon.git"; - rev = "v4.1.0"; # "v${pkgs.mastodon.version}"; + rev = "v${pkgs.mastodon.version}"; + # sha256 mismatch will not allow automatic updates on every + # new Mastodon release. We don't want to have problems with + # updated dependencies in the unstable channel. sha256 = "sha256-a3EpeTQBCP+J4Gde/iixcg3VUhZbw4DwbZp8GDRAzAI="; }; patches = [