mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
supersonic: drop glfw3.buildInputs
This commit is contained in:
parent
cf2c289cbd
commit
b869f7d909
@ -7,9 +7,11 @@
|
||||
, pkg-config
|
||||
, desktopToDarwinBundle
|
||||
, xorg
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, libxkbcommon
|
||||
, libglvnd
|
||||
, mpv
|
||||
, glfw3
|
||||
, darwin
|
||||
, waylandSupport ? false
|
||||
}:
|
||||
@ -45,10 +47,17 @@ buildGoModule rec {
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
xorg.libXxf86vm
|
||||
xorg.libX11
|
||||
]
|
||||
++ (builtins.filter (p: !(lib.hasPrefix "apple-framework" p.name))
|
||||
(glfw3.override { inherit waylandSupport; }).buildInputs)
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
] ++ lib.optionals (stdenv.isLinux && !waylandSupport) [
|
||||
xorg.libXrandr
|
||||
xorg.libXinerama
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXext
|
||||
] ++ lib.optionals (stdenv.isLinux && waylandSupport) [
|
||||
wayland
|
||||
wayland-protocols
|
||||
libxkbcommon
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk_11_0.frameworks.Cocoa
|
||||
darwin.apple_sdk_11_0.frameworks.Kernel
|
||||
darwin.apple_sdk_11_0.frameworks.OpenGL
|
||||
|
Loading…
Reference in New Issue
Block a user