Skip to content

Commit

Permalink
Format & clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Aug 14, 2024
1 parent 6ed77c3 commit 7591943
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -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};
Expand Down

0 comments on commit 7591943

Please sign in to comment.