avrdude: enable parallel port support on Linux (it doesn't work on macOS)

This commit is contained in:
Philip Taron 2024-04-11 12:45:44 -07:00
parent 472fb7ce50
commit 98e8fbee79
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -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