Compare commits
4 Commits
2cd98fa71c
...
69f0dcbd66
| Author | SHA1 | Date | |
|---|---|---|---|
|
69f0dcbd66
|
|||
|
c7705bb8fc
|
|||
|
b28ed8c20f
|
|||
|
0bd8cd1fb8
|
@@ -20,7 +20,6 @@
|
|||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
self',
|
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
@@ -107,6 +106,10 @@
|
|||||||
packages = [
|
packages = [
|
||||||
pyEnv
|
pyEnv
|
||||||
];
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
export PYTHONPATH="${pyEnv}/${pyEnv.sitePackages}:$PYTHONPATH"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
// cfg.devShell.extraAttrs);
|
// cfg.devShell.extraAttrs);
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
use flake
|
||||||
@@ -155,7 +155,6 @@ activemq-data/
|
|||||||
|
|
||||||
# Environments
|
# Environments
|
||||||
.env
|
.env
|
||||||
.envrc
|
|
||||||
.venv
|
.venv
|
||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
from build123d import * # pyright: ignore[reportWildcardImportFromLibrary]
|
# pyright: reportUnusedCallResult=false, reportWildcardImportFromLibrary=false
|
||||||
|
from build123d import *
|
||||||
|
|
||||||
length, width, thickness = 80.0, 60.0, 10.0
|
length, width, thickness = 80.0, 60.0, 10.0
|
||||||
|
|
||||||
with BuildPart() as builder:
|
with BuildPart() as builder:
|
||||||
Box(length, width, thickness)
|
Box(length, width, thickness)
|
||||||
|
|
||||||
|
assert builder.part is not None
|
||||||
export_step(builder.part, "output.step")
|
export_step(builder.part, "output.step")
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
|
||||||
project-templates = {
|
project-templates = {
|
||||||
url = "path:///home/reed/code/project-templates";
|
url = "git+ssh://gitea@git.krantz.one/reed/project-templates";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.flake-parts.follows = "flake-parts";
|
inputs.flake-parts.follows = "flake-parts";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user