Skip to content

Commit

Permalink
flake: add alejandra to devShell
Browse files Browse the repository at this point in the history
  • Loading branch information
alarsyo committed Mar 4, 2024
1 parent 74d04c4 commit e7647dd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
};
});
}

0 comments on commit e7647dd

Please sign in to comment.