From bea380e8341d66fed40ea5e4593c6283cd40cdff Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Mon, 7 Jul 2025 12:21:41 +0100 Subject: [PATCH] gleam: move js runtimes and git to nativeCheckInputs JS runtimes are only used during checks for the runtime integration tests. Added comment for inclusion of git. --- pkgs/by-name/gl/gleam/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gl/gleam/package.nix b/pkgs/by-name/gl/gleam/package.nix index 3a5c11c5d686..a5d62130972f 100644 --- a/pkgs/by-name/gl/gleam/package.nix +++ b/pkgs/by-name/gl/gleam/package.nix @@ -27,16 +27,22 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-TJqylGjXdkunE5mHkpFnvv3SENBFwtQehV0q2k3hNMY="; nativeBuildInputs = [ - git pkg-config erlang_27 + ]; + + buildInputs = [ openssl ]; + + nativeCheckInputs = [ + # used by several tests + git + + # js runtimes used for integration tests nodejs bun deno ]; - buildInputs = [ openssl ]; - checkFlags = [ # Makes a network request "--skip=tests::echo::echo_dict"