forked from potsda.mn/mobilizon
use default beamPackages for nix build
This commit is contained in:
parent
a0b001576b
commit
4bc52f527d
15
default.nix
15
default.nix
|
@ -1,14 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, beam
|
, beamPackages
|
||||||
, callPackage
|
|
||||||
, writeShellScriptBin
|
|
||||||
, writeText
|
|
||||||
, yarn2nix
|
|
||||||
, mix2nix
|
|
||||||
, fetchFromGitLab
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchgit
|
|
||||||
, fetchurl
|
|
||||||
, git
|
, git
|
||||||
, cmake
|
, cmake
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
@ -18,10 +10,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
beamPackages = beam.packages.erlangR25.extend (self: super: {
|
inherit (beamPackages) mixRelease buildMix;
|
||||||
elixir = super.elixir_1_14;
|
|
||||||
});
|
|
||||||
inherit (beamPackages) mixRelease buildMix buildRebar3 fetchHex;
|
|
||||||
in
|
in
|
||||||
mixRelease rec {
|
mixRelease rec {
|
||||||
pname = "mobilizon";
|
pname = "mobilizon";
|
||||||
|
|
Loading…
Reference in a new issue