Describe the bug
Recently, I used glfw-wayland for my little project on OpenGL, and it worked fine. However, after the glfw 3.4 update, my application refuses to run with an error code 65537: "The GLFW library is not initialized". This definitely seems to be an issue with the new version. For comparison, glfw-wayland 3.3.8 from nixos-23.11 works flawlessly without any tinkering required.
Steps To Reproduce
I use this flake configuration
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
makeShell = pkgs.mkShell.override { stdenv = pkgs.clangStdenv; };
in
{
devShells.${system}.default = makeShell {
name = "env";
nativeBuildInputs = with pkgs; [
cmake
clang-tools
];
buildInputs = with pkgs; [
glfw-wayland
glm
assimp
];
};
};
}
Notify maintainers
@getchoo
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.9.1, NixOS, 24.11 (Vicuña), 24.11.20240524.bfb7a88`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.2`
- channels(roz): `"home-manager"`
- nixpkgs: `/nix/store/z71lmgd0ydfnax1b13zbrls5idf1y7ak-source`
Add a 👍 reaction to issues you find important.
Describe the bug
Recently, I used
glfw-waylandfor my little project on OpenGL, and it worked fine. However, after theglfw3.4update, my application refuses to run with an errorcode 65537: "The GLFW library is not initialized". This definitely seems to be an issue with the new version. For comparison,glfw-wayland3.3.8fromnixos-23.11works flawlessly without any tinkering required.Steps To Reproduce
I use this flake configuration
Notify maintainers
@getchoo
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.Add a 👍 reaction to issues you find important.