28 lines
845 B
Nix
28 lines
845 B
Nix
{ 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;
|
|
rev = "e0107a3d814583b3a521d254bbe09bfad1fc67ac";
|
|
hash = "sha256-sPFWaEyy4DxRCj+7UueI2aQdDbyUQc3C1bclumyrFKU=";
|
|
};
|
|
|
|
mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; };
|
|
}
|