Merge pull request #2873 from ckoehler/fix/nix-devshell

build: add gcc, gtest to nix shell, fix native test framework
This commit is contained in:
Liam Cottle
2026-07-02 11:32:21 +12:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
{ pkgs ? import <nixpkgs> {} }:
let
{pkgs ? import <nixpkgs> {}}: let
in
pkgs.mkShell {
buildInputs = [
pkgs.platformio
pkgs.python3
pkgs.gcc
pkgs.gtest
# optional: needed as a programmer i.e. for esp32
pkgs.avrdude
];
}
}
+1
View File
@@ -157,6 +157,7 @@ lib_deps =
[env:native]
platform = native
test_framework = googletest
build_flags = -std=c++17
-I src
-I test/mocks