Remove flake-utils dependency

This commit is contained in:
2026-03-11 15:37:50 +01:00
parent b943a3f1c8
commit 1dcd9c8f0a
3 changed files with 28 additions and 36 deletions

View File

@@ -1,14 +1,25 @@
{
description = "";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
inputs.flake-utils.url = "github:numtide/flake-utils";
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
];
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShell = import ./shell.nix { inherit pkgs; };
}
);
shellHook = "";
};
};
}