diff --git a/pkgs/servers/mobilizon/0001-fix-version.patch b/pkgs/servers/mobilizon/0001-fix-version.patch new file mode 100644 index 0000000000000..da4d8f436a52e --- /dev/null +++ b/pkgs/servers/mobilizon/0001-fix-version.patch @@ -0,0 +1,13 @@ +diff --git a/mix.exs b/mix.exs +index 8338abf8..883e6987 100644 +--- a/mix.exs ++++ b/mix.exs +@@ -1,7 +1,7 @@ + defmodule Mobilizon.Mixfile do + use Mix.Project + +- @version "5.1.0" ++ @version "5.1.1" + + def project do + [ diff --git a/pkgs/servers/mobilizon/default.nix b/pkgs/servers/mobilizon/default.nix index a007a30f6f260..efd40acbfeefb 100644 --- a/pkgs/servers/mobilizon/default.nix +++ b/pkgs/servers/mobilizon/default.nix @@ -19,6 +19,11 @@ in mixRelease rec { inherit (common) pname version src; + # Version 5.1.1 failed to bump their internal package version, + # which causes issues with static file serving in the NixOS module. + # See https://github.com/NixOS/nixpkgs/pull/370277 + patches = [ ./0001-fix-version.patch ]; + nativeBuildInputs = [ git cmake