Add development shell for menuconfig

This commit is contained in:
Mikael 2024-11-07 22:55:49 +01:00
parent b2bcae7f1f
commit ec03b8aab7
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -39,6 +39,15 @@
};
};
devShells = lib.genAttrs [ "riscv64-linux" "aarch64-linux" "x86_64-linux" ] (system: {
default = let
pkgs = nixpkgs.legacyPackages.${system};
in pkgs.mkShell {
packages = with pkgs; [ pkg-config ncurses.dev bison ];
inputsFrom = [ self.packages.${system}.default ];
};
});
hydraJobs = self.packages |> lib.foldlAttrs (jobs: system: packages: lib.recursiveUpdate jobs
(lib.mapAttrs (name: package: { ${system} = package; }) packages)) { };
};