Skip to content

Commit

Permalink
Use nix-provided biome
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskala committed Feb 20, 2025
1 parent b6b6852 commit 2ffb717
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions shells/work.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
let
work = pkgs.writeShellApplication {
name = "work";
runtimeInputs = [ pkgs.yarn ];
runtimeInputs = with pkgs; [
biome
yarn
];
text = ''
die() {
printf '%s\n' "$1" >&2 && exit 1
Expand All @@ -18,7 +21,7 @@ let
case "$cmd" in
fmt)
yarn biome check --write --javascript-linter-enabled=false "$@"
biome check --write --javascript-linter-enabled=false "$@"
;;
test)
yarn nx test "$@"
Expand Down

0 comments on commit 2ffb717

Please sign in to comment.