diff options
Diffstat (limited to 'pkgs/by-name/pi/picocrypt/package.nix')
-rw-r--r-- | pkgs/by-name/pi/picocrypt/package.nix | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/pkgs/by-name/pi/picocrypt/package.nix b/pkgs/by-name/pi/picocrypt/package.nix index bd0fce2518d55..3823fdd1824f2 100644 --- a/pkgs/by-name/pi/picocrypt/package.nix +++ b/pkgs/by-name/pi/picocrypt/package.nix @@ -8,7 +8,7 @@ makeDesktopItem, xorg, - libGL, + glfw, gtk3, pkg-config, wrapGAppsHook3, @@ -34,18 +34,14 @@ buildGoModule rec { "-w" ]; - buildInputs = [ - xorg.libX11 - xorg.libXcursor - xorg.libXrandr - xorg.libXi - xorg.libXinerama - xorg.libXxf86vm - libGL.dev - gtk3 - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Kernel - ]; + buildInputs = + # Depends on a vendored, patched GLFW. + glfw.buildInputs or [ ] + ++ glfw.propagatedBuildInputs or [ ] + ++ lib.optionals (!stdenv.isDarwin) [ + gtk3 + xorg.libXxf86vm + ]; nativeBuildInputs = [ copyDesktopItems |