Initial Elixir project

This commit is contained in:
bluepython508 committed 2024-09-15 12:17:48 +01:00
commit cb207114a7
12 files changed
+200

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
{
mixRelease,
fetchMixDeps,
elixir,
}:
mixRelease rec {
pname = "frajtano";
version = "0.0.1";
inherit elixir;
src = builtins.path {
path = ./.;
name = "${pname}-source";
filter = path: _type: baseNameOf path != "flake.nix" && baseNameOf path != "flake.lock";
};
mixFodDeps = fetchMixDeps {
pname = "mix-deps-${pname}";
inherit version src;
sha256 = "sha256-lknkq6b1yDOLgTpR/tPEk9UKqpqQT6H1N5g15M60nCA=";
};
ELIXIR_MAKE_CACHE_DIR = "/tmp/.elixir-make-cache";
meta.mainProgram = "${pname}";
}