flake: add alejandra to devShell

This commit is contained in:
Antoine Martin 2024-03-04 16:31:32 +01:00
parent 3e23486ecb
commit 847b50a841

View file

@ -179,11 +179,18 @@
}; };
}; };
} }
// inputs.flake-utils.lib.eachDefaultSystem (system: { // inputs.flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
in {
packages = packages =
inputs.flake-utils.lib.flattenTree inputs.flake-utils.lib.flattenTree
(import ./pkgs { (import ./pkgs {
pkgs = import nixpkgs {inherit system;}; pkgs = import nixpkgs {inherit system;};
}); });
devShells.default = pkgs.mkShellNoCC {
buildInputs = [
pkgs.alejandra
];
};
}); });
} }