Commit 8082648c authored by Payas Relekar's avatar Payas Relekar
Browse files

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.
parent 1533196d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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=";
+1 −0
Original line number Diff line number Diff line
@@ -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 { };