-
Notifications
You must be signed in to change notification settings - Fork 43
/
shell.nix
31 lines (27 loc) · 834 Bytes
/
shell.nix
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
# This is a nix-shell for use with the nix package manager.
# If you have nix installed, you may simply run `nix-shell`
# in this repo, and have all dependencies ready in the new shell.
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs;
[
# Dependencies for LDGraphy application
libpng
# CAD for all laser-cut parts
ghostscript # 2D CAD script :)
pstoedit # Generate DXF from it
librecad # mostly to just look at generated dxf
# PCBs
kicad
python3 # For PCB cam scripts
python310Packages.kicad
zip # pack up the gerbers.
# CAM
lightburn
];
shellHook = ''
# If not compiled on a beaglebone while developing,
# don't set the compile flags needed for arm.
export ARM_COMPILE_FLAGS=""
'';
}