use elixir with no X dependencies, smaller nix closure
This commit is contained in:
parent
1852d07ecf
commit
7c5e8cf31f
|
@ -1,5 +1,5 @@
|
|||
{ lib
|
||||
, beamPackages
|
||||
, beam_nox
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, cmake
|
||||
|
@ -10,7 +10,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
inherit (beamPackages) mixRelease buildMix;
|
||||
inherit (beam_nox.packages.erlang) mixRelease buildMix;
|
||||
in
|
||||
mixRelease rec {
|
||||
pname = "mobilizon";
|
||||
|
@ -28,7 +28,8 @@ mixRelease rec {
|
|||
nativeBuildInputs = [ git cmake ];
|
||||
|
||||
mixNixDeps = import ./mix.nix {
|
||||
inherit beamPackages lib;
|
||||
inherit lib;
|
||||
beamPackages = beam_nox.packages.erlang;
|
||||
overrides = (final: prev:
|
||||
(lib.mapAttrs
|
||||
(_: 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
|
||||
'';
|
||||
|
||||
passthru.elixirPackage = beamPackages.elixir;
|
||||
passthru.elixirPackage = beam_nox.packages.erlang.elixir;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mobilizon is an online tool to help manage your events, your profiles and your groups";
|
||||
|
|
Loading…
Reference in a new issue