From a19f9668f219a47e2c819797c952950486bbba86 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Tue, 27 Jun 2017 14:03:14 -0400 Subject: [PATCH] Remove Erlang specific version retrieval --- pkgs/development/beam-modules/lib.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/development/beam-modules/lib.nix b/pkgs/development/beam-modules/lib.nix index da21cc17bf2..dd4ed5e1bbf 100644 --- a/pkgs/development/beam-modules/lib.nix +++ b/pkgs/development/beam-modules/lib.nix @@ -12,15 +12,6 @@ rec { callPackage = callPackageWith pkgs; - /* Erlang/OTP-specific version retrieval, returns 19 for OTP R19 */ - getVersion = x: - let - parse = drv: (builtins.parseDrvName drv).version; - in builtins.replaceStrings ["B" "-"] ["." "."] ( - if builtins.isString x - then parse x - else x.version or (parse x.name)); - /* Uses generic-builder to evaluate provided drv containing OTP-version specific data.