Skip to content

Commit

Permalink
shells: conditionally add disko if linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 authored Nov 18, 2024
1 parent 54f70cd commit 0130b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ in
selene
jq
home-manager.packages.${system}.default
disko.packages.${system}.disko
] ++ treefmt-deps;
] ++ (lib.optional stdenv.hostPlatform.isLinux [ disko.packages.${system}.disko ])
++ treefmt-deps;
inherit (checks.${pkgs.system}.pre-commit-check) shellHook;
};
ci = pkgs.mkShellNoCC {
Expand Down

0 comments on commit 0130b59

Please sign in to comment.