Skip to content

Commit

Permalink
fix multiplatform filetype test
Browse files Browse the repository at this point in the history
  • Loading branch information
timbertson committed Feb 2, 2024
1 parent d03f698 commit 0dbb28d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builder/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn current_platform() -> String {
pub fn all_platforms() -> Vec<&'static str> {
vec!(
"x86_64-Linux",
"x86_64-Darwin",
// "x86_64-Darwin", TODO: https://github.com/timbertson/runix/issues/9
"arm64-Darwin",
)
}
Expand Down
2 changes: 1 addition & 1 deletion builder/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fn crossplatform_file_types() -> Result<()> {
if line.trim().is_empty() {
continue
}
if line.contains("ASCII text") {
if line.contains("ASCII text") || line.contains("script") {
continue
} else {
match platform.split_once('-').unwrap() {
Expand Down
1 change: 1 addition & 0 deletions nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ let
libiconv # native libs
curl
git
findutils
] ++
lib.optionals stdenv.isDarwin (with darwin.apple_sdk; [
frameworks.Security
Expand Down

0 comments on commit 0dbb28d

Please sign in to comment.