Migrate to arduino-sketch-builder-nix
This commit is contained in:
23
flake.lock
generated
23
flake.lock
generated
@@ -1,19 +1,18 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"arduino-nix": {
|
"arduino-sketch-builder-nix": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760702729,
|
"lastModified": 1760703962,
|
||||||
"narHash": "sha256-wNtHhM2YyR+01mqNDCQjUscNOxkIbPbC8zsfpzFAeTg=",
|
"narHash": "sha256-QDFGRAtW57ooL6aefBamciR9yAD+vBvVkv6koT9Bf0g=",
|
||||||
"owner": "clerie",
|
"ref": "refs/heads/main",
|
||||||
"repo": "arduino-nix",
|
"rev": "b53c9c75cf4c33438a112a8a63449b1e7aa1685a",
|
||||||
"rev": "2fe354b7eb0083ee76c8578446057eaffcbb2784",
|
"revCount": 24,
|
||||||
"type": "github"
|
"type": "git",
|
||||||
|
"url": "https://git.clerie.de/clerie/arduino-sketch-builder-nix.git"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "clerie",
|
"type": "git",
|
||||||
"ref": "clerie/arduino-env",
|
"url": "https://git.clerie.de/clerie/arduino-sketch-builder-nix.git"
|
||||||
"repo": "arduino-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
@@ -34,7 +33,7 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"arduino-nix": "arduino-nix",
|
"arduino-sketch-builder-nix": "arduino-sketch-builder-nix",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
10
flake.nix
10
flake.nix
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
arduino-nix.url = "github:clerie/arduino-nix/clerie/arduino-env";
|
arduino-sketch-builder-nix.url = "git+https://git.clerie.de/clerie/arduino-sketch-builder-nix.git";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, arduino-nix, ... }: {
|
outputs = { self, nixpkgs, arduino-sketch-builder-nix, ... }: {
|
||||||
packages.x86_64-linux = let
|
packages.x86_64-linux = let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
overlays = [
|
overlays = [
|
||||||
(arduino-nix.overlay)
|
(arduino-sketch-builder-nix.overlay)
|
||||||
(arduino-nix.mkArduinoPackageOverlay ./package_index.json)
|
(arduino-sketch-builder-nix.mkArduinoPackageOverlay ./package_index.json)
|
||||||
(arduino-nix.mkArduinoPackageOverlay (pkgs.fetchurl {
|
(arduino-sketch-builder-nix.mkArduinoPackageOverlay (pkgs.fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/espressif/arduino-esp32/8bae7e23376c6087a55e46456049ae6d73b72e16/package_esp32_index.json";
|
url = "https://raw.githubusercontent.com/espressif/arduino-esp32/8bae7e23376c6087a55e46456049ae6d73b72e16/package_esp32_index.json";
|
||||||
hash = "sha256-0kvZeRDtE/JKJes86omyN4cf4HWfX68P7xPfE+BvTC8=";
|
hash = "sha256-0kvZeRDtE/JKJes86omyN4cf4HWfX68P7xPfE+BvTC8=";
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user