diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-26 20:17:33 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-26 20:17:33 +0200 |
commit | a8854301d2fe3d09b41ca055a713500edcead000 (patch) | |
tree | 3c2701131dfbfca1a6a4707faa508aa114d7ad7e /modules/remote-io/.nix | |
parent | 5152bb37e0a5ec533b55512ef93eecde5c1cae34 (diff) |
Working on remote io tcp proxies and tls
Diffstat (limited to 'modules/remote-io/.nix')
-rw-r--r-- | modules/remote-io/.nix/derivation.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/modules/remote-io/.nix/derivation.nix b/modules/remote-io/.nix/derivation.nix new file mode 100644 index 0000000..917789a --- /dev/null +++ b/modules/remote-io/.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 + ''; +} |