From 4ad2010194037ad25c54631995e89b9d9ee878b3 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 23 Aug 2021 15:18:17 +0200 Subject: init exneuland as alternative backend It appears to work (somewhat). Limitations: - exneuland is not configurable; can only have it once - frontend untested since last update broke things --- exneuland.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 exneuland.nix (limited to 'exneuland.nix') diff --git a/exneuland.nix b/exneuland.nix new file mode 100644 index 0000000..1e9b2b1 --- /dev/null +++ b/exneuland.nix @@ -0,0 +1,23 @@ +{ pkgs ? import (import ./nix/sources.nix {}).nixpkgs {} +, unstable-pkgs ? import (import ./nix/sources.nix {}).nixpkgs-unstable {} +, exneuland-src ? (import ./nix/sources.nix {}).exneuland +, ...}: + +let + packages = pkgs.beam.packagesWith pkgs.beam.interpreters.erlang; + +in (packages.mixRelease.override {elixir = unstable-pkgs.elixir_1_12; }) rec { + pname = "exneuland"; + version = "0.0.1"; + src = exneuland-src; + + mixEnv = "prod"; + + mixDeps = packages.fetchMixDeps { + pname = "mix-deps-${pname}"; + inherit src mixEnv version; + sha256 = "0nyips2ky6rmgq3xdhrhg4fnw4m2pmck6p1amw9m7qisdqlxhv25"; + }; + + buildInputs = with pkgs; [ rebar3 protobuf ]; +} -- cgit v1.2.3