Skip to content

Commit 0dbb28d

Browse files
committed
fix multiplatform filetype test
1 parent d03f698 commit 0dbb28d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

builder/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub fn current_platform() -> String {
5151
pub fn all_platforms() -> Vec<&'static str> {
5252
vec!(
5353
"x86_64-Linux",
54-
"x86_64-Darwin",
54+
// "x86_64-Darwin", TODO: https://github.com/timbertson/runix/issues/9
5555
"arm64-Darwin",
5656
)
5757
}

builder/tests/integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ fn crossplatform_file_types() -> Result<()> {
247247
if line.trim().is_empty() {
248248
continue
249249
}
250-
if line.contains("ASCII text") {
250+
if line.contains("ASCII text") || line.contains("script") {
251251
continue
252252
} else {
253253
match platform.split_once('-').unwrap() {

nix/shell.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ let
1919
libiconv # native libs
2020
curl
2121
git
22+
findutils
2223
] ++
2324
lib.optionals stdenv.isDarwin (with darwin.apple_sdk; [
2425
frameworks.Security

0 commit comments

Comments
 (0)