Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions pkgs/by-name/dp/dprint/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
installShellFiles,
testers,
nix-update-script,
deno,
dprint,
}:

Expand All @@ -31,18 +30,14 @@ rustPlatform.buildRustPackage rec {
installShellFiles
];

nativeCheckInputs = [
# Used in unsafe_ignore_cert test
# https://github.com/dprint/dprint/blob/00e8f5e9895147b20fe70a0e4e5437bd54d928e8/crates/dprint/src/utils/url.rs#L527
deno
];

checkFlags = [
# Require creating directory and network access
"--skip=plugins::cache_fs_locks::test"
"--skip=utils::lax_single_process_fs_flag::test"
# Require cargo is running
"--skip=utils::process::test"
# Requires deno for the testing, and making unstable results on darwin
"--skip=utils::url::test::unsafe_ignore_cert"
];

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