-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjustfile
More file actions
20 lines (16 loc) · 739 Bytes
/
justfile
File metadata and controls
20 lines (16 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export NIXPKGS_ALLOW_UNFREE := "1"
default:
@just --list
# Recipe to run your development environment commands
dev:
@echo "Entering Nix development environment 🧰 ..."
@nix develop --impure --extra-experimental-features nix-command --extra-experimental-features flakes
# Recipe to run pre-commit hooks
precommit:
@echo "Running pre-commit hooks..."
pre-commit run --all-files
# Recipe to find an specific nix package.
# Recipe to search for a specific nix package in fuzzy mode
nix-search pkg:
@echo "Searching for packages in nixpkgs..."
@nix search nixpkgs --json {{pkg}} --extra-experimental-features nix-command --extra-experimental-features flakes | jq -r 'to_entries[] | "\(.value.name) - \(.value.description)"'