mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
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:
parent
1533196dff
commit
8082648c80
@ -5,6 +5,7 @@
|
|||||||
, git
|
, git
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
|
, erlang
|
||||||
, Security
|
, Security
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, SystemConfiguration
|
, SystemConfiguration
|
||||||
@ -23,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ git pkg-config ];
|
nativeBuildInputs = [ git pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++
|
buildInputs = [ openssl erlang ] ++
|
||||||
lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
|
lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
|
||||||
|
|
||||||
cargoHash = "sha256-B8tCVkubP04gAHKQC0idR5AjpVHG/kCXvPCfwKCuaSo=";
|
cargoHash = "sha256-B8tCVkubP04gAHKQC0idR5AjpVHG/kCXvPCfwKCuaSo=";
|
||||||
|
@ -14853,6 +14853,7 @@ with pkgs;
|
|||||||
|
|
||||||
gleam = callPackage ../development/compilers/gleam {
|
gleam = callPackage ../development/compilers/gleam {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||||
|
erlang = erlang_27;
|
||||||
};
|
};
|
||||||
|
|
||||||
gmqcc = callPackage ../development/compilers/gmqcc { };
|
gmqcc = callPackage ../development/compilers/gmqcc { };
|
||||||
|
Loading…
Reference in New Issue
Block a user