diff options
author | Alexandru Scvortov <code@scvalex.net> | 2023-10-29 21:03:06 +0000 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-11-02 20:16:00 +0000 |
commit | cbbe57bc52d132ef78654b5e63e6d603b1a0c383 (patch) | |
tree | 0b6d7640fba29302de823c79089139eed663f349 /nixos/modules/services/web-apps/mobilizon.nix | |
parent | 942908f7f565084566819b84f238bbce66051c55 (diff) |
elixir: make 1.15 default and pin existing pkgs to 1.14
Diffstat (limited to 'nixos/modules/services/web-apps/mobilizon.nix')
-rw-r--r-- | nixos/modules/services/web-apps/mobilizon.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/mobilizon.nix b/nixos/modules/services/web-apps/mobilizon.nix index e9264a38f0e61..343c5cead2b15 100644 --- a/nixos/modules/services/web-apps/mobilizon.nix +++ b/nixos/modules/services/web-apps/mobilizon.nix @@ -8,7 +8,7 @@ let user = "mobilizon"; group = "mobilizon"; - settingsFormat = pkgs.formats.elixirConf { elixir = pkgs.elixir_1_14; }; + settingsFormat = pkgs.formats.elixirConf { elixir = cfg.package.elixirPackage; }; configFile = settingsFormat.generate "mobilizon-config.exs" cfg.settings; @@ -309,7 +309,7 @@ in genCookie = "IO.puts(Base.encode32(:crypto.strong_rand_bytes(32)))"; evalElixir = str: '' - ${pkgs.elixir_1_14}/bin/elixir --eval '${str}' + ${cfg.package.elixirPackage}/bin/elixir --eval '${str}' ''; in '' |