forked from potsda.mn/mobilizon
use elixir with no X dependencies, smaller nix closure
This commit is contained in:
parent
1852d07ecf
commit
7c5e8cf31f
|
@ -1,5 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
, beamPackages
|
, beam_nox
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, git
|
, git
|
||||||
, cmake
|
, cmake
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (beamPackages) mixRelease buildMix;
|
inherit (beam_nox.packages.erlang) mixRelease buildMix;
|
||||||
in
|
in
|
||||||
mixRelease rec {
|
mixRelease rec {
|
||||||
pname = "mobilizon";
|
pname = "mobilizon";
|
||||||
|
@ -28,7 +28,8 @@ mixRelease rec {
|
||||||
nativeBuildInputs = [ git cmake ];
|
nativeBuildInputs = [ git cmake ];
|
||||||
|
|
||||||
mixNixDeps = import ./mix.nix {
|
mixNixDeps = import ./mix.nix {
|
||||||
inherit beamPackages lib;
|
inherit lib;
|
||||||
|
beamPackages = beam_nox.packages.erlang;
|
||||||
overrides = (final: prev:
|
overrides = (final: prev:
|
||||||
(lib.mapAttrs
|
(lib.mapAttrs
|
||||||
(_: value: value.override {
|
(_: value: value.override {
|
||||||
|
@ -131,7 +132,7 @@ mixRelease rec {
|
||||||
ln -s ${ex_cldr.src}/priv/cldr/locales $out/lib/ex_cldr-${ex_cldr.version}/priv/cldr/locales
|
ln -s ${ex_cldr.src}/priv/cldr/locales $out/lib/ex_cldr-${ex_cldr.version}/priv/cldr/locales
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.elixirPackage = beamPackages.elixir;
|
passthru.elixirPackage = beam_nox.packages.erlang.elixir;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Mobilizon is an online tool to help manage your events, your profiles and your groups";
|
description = "Mobilizon is an online tool to help manage your events, your profiles and your groups";
|
||||||
|
|
Loading…
Reference in a new issue