From 8ed32a3547d58ccc7a5369c2c1a3727d60d917f3 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Fri, 3 Jan 2025 11:24:34 +0100 Subject: [PATCH] fityk: fix cross / strictDeps build --- pkgs/by-name/fi/fityk/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/fi/fityk/package.nix b/pkgs/by-name/fi/fityk/package.nix index 581b717c0be84a..733cbfbb295b4e 100644 --- a/pkgs/by-name/fi/fityk/package.nix +++ b/pkgs/by-name/fi/fityk/package.nix @@ -25,7 +25,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-m2RaZMYT6JGwa3sOUVsBIzCdZetTbiygaInQWoJ4m1o="; }; - nativeBuildInputs = [ autoreconfHook ]; + nativeBuildInputs = [ + autoreconfHook + lua + swig + ]; buildInputs = [ wxGTK32 boost @@ -38,6 +42,10 @@ stdenv.mkDerivation rec { swig ]; + configureFlags = [ + "--with-wx-config=${lib.getExe' (lib.getDev wxGTK32) "wx-config"}" + ]; + env.NIX_CFLAGS_COMPILE = toString [ "-std=c++11" ];