From 98e8fbee79016d30d2268a99473cbe88598184d2 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Thu, 11 Apr 2024 12:45:44 -0700 Subject: [PATCH] avrdude: enable parallel port support on Linux (it doesn't work on macOS) --- pkgs/development/embedded/avrdude/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/embedded/avrdude/default.nix b/pkgs/development/embedded/avrdude/default.nix index 423ca7934a94..f03efa1dc820 100644 --- a/pkgs/development/embedded/avrdude/default.nix +++ b/pkgs/development/embedded/avrdude/default.nix @@ -30,7 +30,8 @@ stdenv.mkDerivation rec { # # -DHAVE_LINUXGPIO=ON because it's incompatible with libgpiod 2.x # - cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [ "-DHAVE_LINUXSPI=ON" ] + cmakeFlags = [ ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ "-DHAVE_LINUXSPI=ON" "-DHAVE_PARPORT=ON" ] ++ lib.optionals docSupport [ "-DBUILD_DOC=ON" ]; # dvips output references texlive in comments, resulting in a huge closure