From 6c8e3d1786a5de4ae562c03693b8dad9dd0ab26e Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Sat, 10 Jun 2023 17:21:29 +0200 Subject: tests,c++: Intermediate commit preparing testing and json --- tests/.nix/derivation.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/.nix/derivation.nix (limited to 'tests/.nix/derivation.nix') diff --git a/tests/.nix/derivation.nix b/tests/.nix/derivation.nix new file mode 100644 index 0000000..d5a698c --- /dev/null +++ b/tests/.nix/derivation.nix @@ -0,0 +1,27 @@ +{ lib +, stdenvNoCC +, scons +, clang +, clang-tools +, version +, forstio +}: + +stdenvNoCC.mkDerivation { + pname = "forstio-test-cases"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang + clang-tools + forstio.core + forstio.async + forstio.test + ]; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3