openocd-pico-flake/flake.nix

26 lines
568 B
Nix
Raw Normal View History

{
description = "flake for rp2040 dev";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
systems.url = "github:nix-systems/default";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
};
outputs =
{ nixpkgs, flake-utils, ... }@inputs:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
openocd = pkgs.callPackage ./openocd.nix { };
in
{
packages.default = openocd;
}
);
}