mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
avrdude: enable parallel port support on Linux (it doesn't work on macOS)
This commit is contained in:
parent
472fb7ce50
commit
98e8fbee79
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user