28 lines
847 B
Nix
28 lines
847 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 = "38df258ce573b14bf5d6d15983457d028631166a";
|
|
sha256 = "sha256-ovVwld1KqaeJHFdveWeR3hP5CHp/jZhFFEHrUU1l4c4=";
|
|
};
|
|
|
|
mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; };
|
|
}
|