From d8fe9dc48b640fc977cd03b483e6fd6b620785ad Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Thu, 15 Aug 2024 14:21:43 +0200 Subject: removing stale files --- modules/remote-thread/.nix/derivation.nix | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 modules/remote-thread/.nix/derivation.nix (limited to 'modules/remote-thread/.nix') diff --git a/modules/remote-thread/.nix/derivation.nix b/modules/remote-thread/.nix/derivation.nix new file mode 100644 index 0000000..917789a --- /dev/null +++ b/modules/remote-thread/.nix/derivation.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +, build_examples ? "false" +}: + +stdenv.mkDerivation { + pname = "forstio-remote-thread"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.codec + forstio.io_codec + forstio.remote + ]; + + outputs = [ + "out" + "dev" + ]; + + buildPhase = '' + scons build_examples=${build_examples} + ''; + + installPhase = '' + scons prefix=$out build_examples=${build_examples} install + ''; +} -- cgit v1.2.3