diff options
author | Philip Taron <philip.taron@gmail.com> | 2024-04-11 12:45:44 -0700 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2024-04-15 09:21:43 -0700 |
commit | 98e8fbee79016d30d2268a99473cbe88598184d2 (patch) | |
tree | a0496b653bae36580b88e8dc277b8356106a3e36 | |
parent | 472fb7ce50ffb750e4d4b6d1bb86501133018db2 (diff) |
avrdude: enable parallel port support on Linux (it doesn't work on macOS)
-rw-r--r-- | pkgs/development/embedded/avrdude/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/embedded/avrdude/default.nix b/pkgs/development/embedded/avrdude/default.nix index 423ca7934a949..f03efa1dc8205 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 |