Skip to content

Commit

Permalink
contrib/nix: patch ncursesw gem to fix method args
Browse files Browse the repository at this point in the history
Another temporary patch until I release ncursesw. Should fix the build
on MacOS, where clang 16 is complaining about mismatched function
pointer types.
  • Loading branch information
danc86 committed Apr 14, 2024
1 parent 2d5a695 commit 6f91b06
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/nix/ruby2.4-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
sha256 = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
# Workaround: remove rake from nativeBuildInputs, otherwise it causes
Expand Down
4 changes: 4 additions & 0 deletions contrib/nix/ruby2.5-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
sha256 = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
# Workaround: remove rake from nativeBuildInputs, otherwise it causes
Expand Down
4 changes: 4 additions & 0 deletions contrib/nix/ruby2.6-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
sha256 = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
# Workaround: remove rake from nativeBuildInputs, otherwise it causes
Expand Down
4 changes: 4 additions & 0 deletions contrib/nix/ruby2.7-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
hash = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
};
Expand Down
4 changes: 4 additions & 0 deletions contrib/nix/ruby3.0-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
hash = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
};
Expand Down
4 changes: 4 additions & 0 deletions contrib/nix/ruby3.1-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
hash = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
};
Expand Down
4 changes: 4 additions & 0 deletions contrib/nix/ruby3.2-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
hash = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
};
Expand Down
4 changes: 4 additions & 0 deletions contrib/nix/ruby3.3-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ let
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/1db8ae8d06ce906ddd8b3910782897084eb5cdcc.patch?full_index=1";
hash = "sha256-1uGV1iTYitstzmmIvGlQC+3Pc7qf3XApawt1Kacu8XA=";
})
(pkgs.fetchpatch {
url = "https://github.com/sup-heliotrope/ncursesw-ruby/commit/d0005dbe5ec0992cb2e38ba0f162a2d92554c169.patch?full_index=1";
sha256 = "sha256-JNKXhXHEMGvNeDIFMCAYT+VTHQAfzJRAZxGqDREV300=";
})
];
};
};
Expand Down

0 comments on commit 6f91b06

Please sign in to comment.