26 lines
457 B
Nix
26 lines
457 B
Nix
{
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
|
|
outputs =
|
|
{ self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
in
|
|
{
|
|
devShells."${system}".default =
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
clang
|
|
platformio
|
|
];
|
|
|
|
shellHook = "";
|
|
};
|
|
};
|
|
}
|