Use the Mastodon version from nixpkgs

default
dump_stack() 2023-02-19 12:01:51 +00:00
parent f4db239964
commit f08718da56
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 6 additions and 1 deletions

View File

@ -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))
```

View File

@ -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 = [