Skip to content

Commit dfd9fbd

Browse files
authored
dprint: skip unstable test to fix build on darwin (#383569)
1 parent b1c2f44 commit dfd9fbd

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pkgs/by-name/dp/dprint/package.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
installShellFiles,
77
testers,
88
nix-update-script,
9-
deno,
109
dprint,
1110
}:
1211

@@ -31,18 +30,14 @@ rustPlatform.buildRustPackage rec {
3130
installShellFiles
3231
];
3332

34-
nativeCheckInputs = [
35-
# Used in unsafe_ignore_cert test
36-
# https://github.com/dprint/dprint/blob/00e8f5e9895147b20fe70a0e4e5437bd54d928e8/crates/dprint/src/utils/url.rs#L527
37-
deno
38-
];
39-
4033
checkFlags = [
4134
# Require creating directory and network access
4235
"--skip=plugins::cache_fs_locks::test"
4336
"--skip=utils::lax_single_process_fs_flag::test"
4437
# Require cargo is running
4538
"--skip=utils::process::test"
39+
# Requires deno for the testing, and making unstable results on darwin
40+
"--skip=utils::url::test::unsafe_ignore_cert"
4641
];
4742

4843
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''

0 commit comments

Comments
 (0)