aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/beam-modules/lib.nix
diff options
context:
space:
mode:
authorJustin Wood <justin.k.wood@gmail.com>2017-06-22 20:34:32 -0400
committerJustin Wood <justin.k.wood@gmail.com>2017-06-26 23:13:58 -0400
commit019afb0c806301e03de764a77dcc11fcbc3fd77a (patch)
treefd0005a2500af4dd5259767df3b17cc625977842 /pkgs/development/beam-modules/lib.nix
parent32705450944254f3f49b09671efaadca31ed8a48 (diff)
Generalize building of Elixir interpreter
Diffstat (limited to 'pkgs/development/beam-modules/lib.nix')
-rw-r--r--pkgs/development/beam-modules/lib.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/beam-modules/lib.nix b/pkgs/development/beam-modules/lib.nix
index 009bfb4975b6..9d7a4bbd34ed 100644
--- a/pkgs/development/beam-modules/lib.nix
+++ b/pkgs/development/beam-modules/lib.nix
@@ -43,4 +43,12 @@ rec {
mkDerivation = pkgs.makeOverridable builder;
};
+ callElixir = drv: args:
+ let
+ builder = callPackage ../../development/interpreters/elixir/generic-builder.nix args;
+ in
+ callPackage drv {
+ mkDerivation = pkgs.makeOverridable builder;
+ };
+
}