From d4717ad12898f9c36f9b9538da0ca9df175ee05e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 7 Sep 2022 21:35:52 +0200 Subject: [PATCH] ncmpcpp: fix cross compile --- pkgs/applications/audio/ncmpcpp/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/ncmpcpp/default.nix b/pkgs/applications/audio/ncmpcpp/default.nix index ed21f047d87b..e97bb2c130e5 100644 --- a/pkgs/applications/audio/ncmpcpp/default.nix +++ b/pkgs/applications/audio/ncmpcpp/default.nix @@ -25,13 +25,17 @@ stdenv.mkDerivation rec { }; enableParallelBuilding = true; + + strictDeps = true; + configureFlags = [ "BOOST_LIB_SUFFIX=" ] ++ lib.optional outputsSupport "--enable-outputs" ++ lib.optional visualizerSupport "--enable-visualizer --with-fftw" ++ lib.optional clockSupport "--enable-clock" ++ lib.optional taglibSupport "--with-taglib"; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config ] + ++ lib.optional taglibSupport taglib; buildInputs = [ boost libmpdclient ncurses readline libiconv icu curl ] ++ lib.optional visualizerSupport fftw