Compare commits

..

2 commits

Author SHA1 Message Date
36bc2d59c3 add macOS support to dev environment 2025-10-07 22:47:19 +02:00
bfc0a3470c update esp-idf toolchain 2025-10-07 22:45:41 +02:00
2 changed files with 20 additions and 20 deletions

30
flake.lock generated
View file

@ -6,17 +6,16 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1746690306, "lastModified": 1758247379,
"narHash": "sha256-bMp4BCrTOX7VDLVU8TzMSQj1hviBrARz9iiqNq6Vbnk=", "narHash": "sha256-u7LOGpRhY1MmelsdLF5BlZRtuwYD5GBfQzVOdNojhz8=",
"owner": "mirrexagon", "owner": "mirrexagon",
"repo": "nixpkgs-esp-dev", "repo": "nixpkgs-esp-dev",
"rev": "6c34f2436015eb6c107970d9b88f3d5d4600c6fa", "rev": "f087ab9ecf5177d5bcf773b0c7467fa91b33dae7",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "mirrexagon", "owner": "mirrexagon",
"repo": "nixpkgs-esp-dev", "repo": "nixpkgs-esp-dev",
"rev": "6c34f2436015eb6c107970d9b88f3d5d4600c6fa",
"type": "github" "type": "github"
} }
}, },
@ -40,17 +39,18 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1729501122, "lastModified": 1759735786,
"narHash": "sha256-tScdcYQ37kMqlyqb5yizNDTKXZASLB4zHitlHwOg+/o=", "narHash": "sha256-a0+h02lyP2KwSNrZz4wLJTu9ikujNsTWIC874Bv7IJ0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "56c7c4a3f5fdbef5bf81c7d9c28fbb45dc626611", "rev": "20c4598c84a671783f741e02bf05cbfaf4907cff",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "NixOS",
"ref": "nixpkgs-unstable", "ref": "nixos-25.05",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
@ -92,16 +92,16 @@
}, },
"systems_2": { "systems_2": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1681028828,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default-linux", "repo": "default",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default-linux", "repo": "default",
"type": "github" "type": "github"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs"; nixpkgs.url = "github:NixOS/nixpkgs";
systems.url = "github:nix-systems/default-linux"; systems.url = "github:nix-systems/default";
esp-idf.url = "github:mirrexagon/nixpkgs-esp-dev?rev=6c34f2436015eb6c107970d9b88f3d5d4600c6fa"; esp-idf.url = "github:mirrexagon/nixpkgs-esp-dev";
}; };
outputs = { nixpkgs, systems, esp-idf, ... }: let outputs = { nixpkgs, systems, esp-idf, ... }: let
@ -14,17 +14,17 @@
}); });
in { in {
devShells = eachSystem(system: let devShells = eachSystem(system: let
inherit (esp-idf.packages.${system}) esp-idf-esp32; inherit (esp-idf.packages.${system}) esp-idf-full;
pkgs = pkgsFor.${system}; pkgs = pkgsFor.${system};
in { in {
default = pkgs.mkShell { default = pkgs.mkShell {
inputsFrom = [ inputsFrom = [
# for building and flashing the sketch # for building and flashing the sketch
esp-idf-esp32 esp-idf-full
]; ];
packages = [ packages = [
esp-idf-esp32 esp-idf-full
# for the `fontconvert.py` script of epdiy # for the `fontconvert.py` script of epdiy
(pkgs.python3.withPackages(ps: [ps.freetype-py])) (pkgs.python3.withPackages(ps: [ps.freetype-py]))