From db293d5ecd85f9ef639ded30341950a9a76d7049 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Fri, 13 Dec 2024 22:19:03 +0100 Subject: [PATCH] flake: add alejandra as a formatter --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index c6062ba11..cc9c13211 100644 --- a/flake.nix +++ b/flake.nix @@ -426,6 +426,8 @@ packages.x86_64-linux.default = pkgs.python3.withPackages(_: [ packages.x86_64-linux.artiq ]); + formatter.x86_64-linux = pkgs.alejandra; + devShells.x86_64-linux = { # Main development shell with everything you need to develop ARTIQ on Linux. # The current copy of the ARTIQ sources is added to PYTHONPATH so changes can be tested instantly.