diff --git a/default.nix b/default.nix
index 2ae07f8b6..e408bac28 100644
--- a/default.nix
+++ b/default.nix
@@ -10,7 +10,9 @@
 }:
 
 let
-  inherit (beam_nox.packages.erlang) mixRelease buildMix elixir;
+  inherit (beam_nox.packages.erlang_26) mixRelease buildMix elixir_1_15;
+  elixir = elixir_1_15;
+  beamPackages = beam_nox.packages.erlang_26.extend (self: super: { elixir = self.elixir_1_15; });
 in
 mixRelease rec {
   pname = "mobilizon";
@@ -23,8 +25,7 @@ mixRelease rec {
 
   # Update deps.nix by running `mix deps.nix`
   mixNixDeps = import ./deps.nix {
-    inherit lib;
-    beamPackages = beam_nox.packages.erlang;
+    inherit lib beamPackages;
     overrides = (
       final: prev:
       (lib.mapAttrs (_: value: value.override { appConfigPath = src-config; }) prev)