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 --- src/test/.nix/derivation.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/test/.nix/derivation.nix (limited to 'src/test/.nix/derivation.nix') diff --git a/src/test/.nix/derivation.nix b/src/test/.nix/derivation.nix new file mode 100644 index 0000000..750d8ed --- /dev/null +++ b/src/test/.nix/derivation.nix @@ -0,0 +1,30 @@ +{ lib +, stdenvNoCC +, scons +, clang +, clang-tools +, version +, forstio +}: + +let + +in stdenvNoCC.mkDerivation { + pname = "forstio-test"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang + clang-tools + ]; + + buildInputs = [ + forstio.core + ]; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3