openocd-pico-flake/flake.nix
jmug a4727d4963 First working version of the flake
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-05-16 15:14:13 -07:00

30 lines
680 B
Nix

{
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
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
openocd
];
};
default = openocd;
}
);
}