From 5d427f14642d95bf00081e134b29072c477bb323 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sat, 2 Aug 2025 10:09:34 -0500 Subject: [PATCH] Add librsvg and libpng to nix build inputs --- flake.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index fede2923..dde66d16 100644 --- a/flake.nix +++ b/flake.nix @@ -7,15 +7,18 @@ systems = [ "x86_64-linux" ]; perSystem = { lib, pkgs, ... }: let # Tools used for development work (clangd, clang-format) - devTools = with pkgs; [ - clang-tools - gdb - ktx-tools + devTools = [ + pkgs.clang-tools + pkgs.gdb + pkgs.ktx-tools ]; # Extra build inputs not yet in the nixpkgs recipe. - extraBuildInputs = with pkgs; [ + extraBuildInputs = [ # XRT_FEATURE_DEBUG_GUI requires SDL2 - sdl2-compat + pkgs.sdl2-compat + + pkgs.librsvg + pkgs.libpng ]; package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {