Skip to content

Commit

Permalink
lib/shells.nix(ci): expose treefmt and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 authored Apr 26, 2024
1 parent d1b0e97 commit 713a40e
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions lib/shells.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
{ pkgs, home-manager, ... }:
let
treefmt-deps = with pkgs; [
treefmt
stylua
statix
deadnix
nixpkgs-fmt
];
in
{

default = pkgs.mkShell {
packages = with pkgs; [
nixos-rebuild
just
stylua
deadnix
nixpkgs-fmt
selene
statix
treefmt
home-manager.packages.${system}.default
];
] ++ treefmt-deps;
};
ci = pkgs.mkShell {
packages = with pkgs; [
just
nixos-rebuild
jq
];
jq
] ++ treefmt-deps;
};
}

0 comments on commit 713a40e

Please sign in to comment.