39 lines
846 B
Nix
39 lines
846 B
Nix
{
|
|
description = "made with build123d";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
project-templates = {
|
|
url = "path:///home/reed/code/project-templates";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.flake-parts.follows = "flake-parts";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
flake-parts,
|
|
project-templates,
|
|
...
|
|
} @ inputs:
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
imports = [
|
|
project-templates.flakeModules.build123d
|
|
];
|
|
|
|
systems = ["aarch64-linux" "x86_64-linux" "aarch64-darwin"];
|
|
|
|
perSystem = {pkgs, ...}: {
|
|
krantz.build123d = {
|
|
enable = true;
|
|
# src = ./.;
|
|
|
|
# runtimeDeps = with pkgs; [];
|
|
# buildDeps = with pkgs; [];
|
|
};
|
|
};
|
|
};
|
|
}
|