Skip to content

Commit

Permalink
pkgs: make system-dependent packages optional
Browse files Browse the repository at this point in the history
This helps reduce failures in ``nix flake check .``.
  • Loading branch information
tomodachi94 committed Jun 23, 2024
1 parent 9cfb279 commit 52021c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ in
{
awesome-lint = cp ./all/awesome-lint { };
crossover = cp ./all/crossover.nix { };
developercolorpicker = cp ./darwin/developercolorpicker.nix { };
doctoc = cp ./all/doctoc.nix { };
ultisnips-vscode = cp ./all/ultisnips-vscode.nix { };
} // pkgs.lib.optionalAttrs pkgs.stdenv.isLinux { } // pkgs.lib.optionalAttrs pkgs.stdenv.isDarwin {
developercolorpicker = cp ./darwin/developercolorpicker.nix { };
}

0 comments on commit 52021c8

Please sign in to comment.