diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-15 14:21:43 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-15 14:21:43 +0200 |
commit | d8fe9dc48b640fc977cd03b483e6fd6b620785ad (patch) | |
tree | 4e3403bdd12d90ae39fd96dac27efe21ac68b428 /modules/remote-thread/.nix/derivation.nix | |
parent | 1a88c40cad88eab0674a30eff581c96a82d808c7 (diff) |
removing stale files
Diffstat (limited to 'modules/remote-thread/.nix/derivation.nix')
-rw-r--r-- | modules/remote-thread/.nix/derivation.nix | 43 |
1 files changed, 43 insertions, 0 deletions
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 + ''; +} |