Skip to content

Commit

Permalink
Merge pull request NixOS#202960 from dotlambda/klipper-python3
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Nov 26, 2022
2 parents ac21be8 + 1c9df7e commit 6f8b75a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pkgs/servers/klipper/klipper-firmware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
, libffi
, libusb1
, wxGTK30-gtk3
, python2
, python3
, gcc-arm-embedded
, klipper
Expand All @@ -20,7 +19,6 @@
src = klipper.src;

nativeBuildInputs = [
python2
python3
pkgsCross.avr.stdenv.cc
gcc-arm-embedded
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/klipper/klipper-flash.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, pkgsCross
, klipper
, klipper-firmware
, python2
, python3
, avrdude
, stm32flash
, mcu ? "mcu"
Expand All @@ -19,7 +19,7 @@ in
writeShellApplication {
name = "klipper-flash-${mcu}";
runtimeInputs = [
python2
python3
pkgsCross.avr.stdenv.cc
gnumake
] ++ lib.optionals (boardArch == "avr") [ avrdude ] ++ lib.optionals (boardArch == "stm32") [ stm32flash ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/klipper/klipper-genconf.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ writeShellApplication
, klipper
, python2
, python3
, gnumake
, pkgsCross
}: writeShellApplication {
name = "klipper-genconf";
runtimeInputs = [
python2
python3
pkgsCross.avr.stdenv.cc
gnumake
];
Expand Down

0 comments on commit 6f8b75a

Please sign in to comment.