-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
37 lines (31 loc) · 891 Bytes
/
shell.nix
File metadata and controls
37 lines (31 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Legacy shell.nix for compatibility with nix-shell
# This file provides backwards compatibility for users who prefer nix-shell over nix develop
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
# Go development
go
gopls
go-tools
golangci-lint
# Build tools
gnumake
git
# Optional: for cross-compilation
gox
# Helpful tools
entr # for file watching
ripgrep # for searching
];
shellHook = ''
echo "bleamd development environment (nix-shell)"
echo "Available commands:"
echo " go build - Build the project"
echo " go run . FILE - Run bleamd with a markdown file"
echo " make build - Build using Makefile"
echo ""
echo "Go version: $(go version)"
echo ""
echo "Note: Consider using 'nix develop' with flakes for a better experience"
'';
}