From 72cb86441bb405d7d5882abd3331d5191c7aab8c Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 10 Jul 2024 14:14:56 +0200 Subject: Preparation to separate remote code from codec --- modules/remote/.nix/derivation.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/remote/.nix/derivation.nix (limited to 'modules/remote/.nix/derivation.nix') diff --git a/modules/remote/.nix/derivation.nix b/modules/remote/.nix/derivation.nix new file mode 100644 index 0000000..8f6dd74 --- /dev/null +++ b/modules/remote/.nix/derivation.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-remote"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + ]; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + doCheck = true; + checkPhase = '' + scons test + ./bin/tests + ''; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3