gleam: fix linux build by skipping network test

also removed openssl which hasn't been needed since v1.1
This commit is contained in:
Adam C. Stephens
2026-06-08 11:19:51 -04:00
parent 57e69b6f17
commit d74ffb2d2d
+3 -4
View File
@@ -2,10 +2,10 @@
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
git,
pkg-config,
openssl,
erlang,
nodejs,
bun,
@@ -33,8 +33,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
erlang
];
buildInputs = [ openssl ];
nativeCheckInputs = [
# used by several tests
git
@@ -48,8 +46,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
checkFlags = [
# Makes a network request
# These tests make network requests
"--skip=tests::echo::echo_dict"
"--skip=tests::escript_success_with_dependency"
]
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
# Snapshot tests fail because a warning is shown on stdout