mirror of
https://github.com/librekeys/picoforge.git
synced 2026-07-28 08:01:19 -07:00
18 lines
538 B
Nix
18 lines
538 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, fenix, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [ "x86_64-linux" "x86_64-darwin" ];
|
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
|
packages.default = pkgs.callPackage ./package.nix { };
|
|
devShells.default = import ./shell.nix { inherit pkgs; };
|
|
};
|
|
};
|
|
}
|