From 847b50a841de298552e47626ac8d48f1d516a70b Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 4 Mar 2024 16:31:32 +0100 Subject: [PATCH] flake: add alejandra to devShell --- flake.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 476d7cc..281824b 100644 --- a/flake.nix +++ b/flake.nix @@ -179,11 +179,18 @@ }; }; } - // inputs.flake-utils.lib.eachDefaultSystem (system: { + // inputs.flake-utils.lib.eachDefaultSystem (system: let + pkgs = import nixpkgs {inherit system;}; + in { packages = inputs.flake-utils.lib.flattenTree (import ./pkgs { pkgs = import nixpkgs {inherit system;}; }); + devShells.default = pkgs.mkShellNoCC { + buildInputs = [ + pkgs.alejandra + ]; + }; }); }