gleam: Add erlang_27 as runtime dependency

While gleam can be run entirely off JS backend, a lot of its intended
uses are in the backend where its target is BEAM VM of Erlang.

Current Gleam version requires Erlang/OTP 26 (erlang_26), while
nixpkgs still defaults to Erlang/OTP 25 (erlang). This change fixes
that.
This commit is contained in:
Payas Relekar 2024-10-26 20:18:22 +05:30
parent 1533196dff
commit 8082648c80
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
, git
, pkg-config
, openssl
, erlang
, Security
, nix-update-script
, SystemConfiguration
@ -23,7 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ git pkg-config ];
buildInputs = [ openssl ] ++
buildInputs = [ openssl erlang ] ++
lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
cargoHash = "sha256-B8tCVkubP04gAHKQC0idR5AjpVHG/kCXvPCfwKCuaSo=";

View File

@ -14853,6 +14853,7 @@ with pkgs;
gleam = callPackage ../development/compilers/gleam {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
erlang = erlang_27;
};
gmqcc = callPackage ../development/compilers/gmqcc { };