mirror of
https://github.com/librekeys/picoforge.git
synced 2026-04-14 08:44:16 -07:00
40 lines
853 B
Nix
40 lines
853 B
Nix
{
|
|
description = "PicoForge Dev Flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ flake-parts, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [
|
|
"x86_64-linux"
|
|
"x86_64-darwin"
|
|
];
|
|
perSystem =
|
|
{
|
|
config,
|
|
self',
|
|
inputs',
|
|
pkgs,
|
|
system,
|
|
...
|
|
}:
|
|
{
|
|
packages = import ./default.nix { inherit pkgs; };
|
|
devShells.default = import ./shell.nix { inherit pkgs; };
|
|
};
|
|
};
|
|
|
|
nixConfig = {
|
|
extra-substituters = [
|
|
"https://librekeys.cachix.org"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"librekeys.cachix.org-1:q+NyQsZgHyIMhYCIxyfpGs5jMU0/WHK7JTYgVbN3Iuk="
|
|
];
|
|
};
|
|
}
|