forked from bullwinkle3000/dactyl-keyboard
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathflake.nix
40 lines (38 loc) · 928 Bytes
/
flake.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
32
33
34
35
36
37
38
39
40
{
description = "Use the solidpython2 flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
solidpython2 = {
url = "github:jonboh/nix-environments?dir=solidpython2";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
solidpython2,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.${system}.default = pkgs.mkShell {
packages = [
pkgs.openscad-unstable # currently broken for ulp-dactyl models, use dev snapshots from April 2024
pkgs.pyright
(pkgs.python3.withPackages
(ps:
with ps; [
ruff-lsp
autopep8
debugpy
setuptools
solidpython2.packages.${system}.python3Packages.solidpython2
numpy
]))
];
};
};
}