2023-09-11 22:30:06 +00:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
erlang = pkgs.beam.interpreters.erlangR26;
|
|
|
|
beamPackagesPrev = pkgs.beam.packagesWith erlang;
|
|
|
|
elixir = beamPackagesPrev.elixir_1_15;
|
|
|
|
|
|
|
|
beamPackages = beamPackagesPrev // rec {
|
|
|
|
inherit erlang elixir;
|
|
|
|
hex = beamPackagesPrev.hex.override { inherit elixir; };
|
|
|
|
buildMix = beamPackagesPrev.buildMix.override { inherit elixir erlang hex; };
|
|
|
|
mixRelease = beamPackagesPrev.mixRelease.override { inherit erlang elixir; };
|
|
|
|
};
|
|
|
|
in
|
|
|
|
beamPackages.mixRelease rec {
|
|
|
|
pname = "bdfr-browser";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitea {
|
|
|
|
domain = "git.kempkens.io";
|
|
|
|
owner = "daniel";
|
|
|
|
repo = pname;
|
2023-10-05 11:16:30 +00:00
|
|
|
rev = "5397833935890efbc4bfa5b720d882fba23a66fe";
|
|
|
|
hash = "sha256-l/IhwqxKyihSoo2VMYCpXve30/IkZdXOEmSRzwv0SjM=";
|
2023-09-11 22:30:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; };
|
|
|
|
}
|