Format & clean up comments
This commit is contained in:
parent
6ed77c300e
commit
7591943464
1 changed files with 7 additions and 5 deletions
12
flake.nix
12
flake.nix
|
@ -1,20 +1,22 @@
|
|||
{
|
||||
inputs = {
|
||||
# Pin this to 23.11 to provide py3.8 needed for the sdk-ng without building it ourselves
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
|
||||
# Zephyr version determining which requirements.txt to use to install python dependencies
|
||||
# Version of requirements.txt installed in pythonEnv
|
||||
zephyr.url = "github:zephyrproject-rtos/zephyr/v3.5.0";
|
||||
zephyr.flake = false;
|
||||
|
||||
# Zephyr sdk and host tools
|
||||
# Zephyr sdk and toolchain
|
||||
zephyr-nix.url = "github:urob/zephyr-nix";
|
||||
# zephyr-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
zephyr-nix.inputs.zephyr.follows = "zephyr";
|
||||
# Relies on 23.11 to provide py38 until zephyr-sdk bumps the requirement
|
||||
# https://github.com/zephyrproject-rtos/sdk-ng/issues/752
|
||||
# zephyr-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, zephyr-nix, ... }: let
|
||||
forAllSystems = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
||||
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
in {
|
||||
devShells = forAllSystems (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue