mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
0347078949
The revision of the glfw fork that Rack depends on has been removed from GitHub. This causes cloning of the glfw submodule for the Rack git repository to fail. As the glfw fork just adds a function that is only needed on Darwin (and we don't support that platform at the moment) we remove the function call from the Rack source. We can then use the upstream version of glfw. We fetch the rest of the submodules manually as well. See https://github.com/NixOS/nixpkgs/issues/71189 for the context.
17 lines
390 B
Diff
17 lines
390 B
Diff
diff --git a/src/main.cpp b/src/main.cpp
|
|
index 0954ae6..a8299f7 100644
|
|
--- a/src/main.cpp
|
|
+++ b/src/main.cpp
|
|
@@ -162,11 +162,6 @@ int main(int argc, char* argv[]) {
|
|
INFO("Initializing app");
|
|
appInit();
|
|
|
|
- const char* openedFilename = glfwGetOpenedFilename();
|
|
- if (openedFilename) {
|
|
- patchPath = openedFilename;
|
|
- }
|
|
-
|
|
if (!settings::headless) {
|
|
APP->patch->init(patchPath);
|
|
}
|