summaryrefslogtreecommitdiff
path: root/src/io/.nix
diff options
context:
space:
mode:
authorClaudius Holeksa <mail@keldu.de>2023-05-03 20:34:02 +0200
committerClaudius Holeksa <mail@keldu.de>2023-05-03 20:34:02 +0200
commit2aa2af0007b7e969845642027c635cd3fd9c8aea (patch)
treee72a05a3c2bfe58442b160c0c8e98ce1d095f36f /src/io/.nix
parent9b81a2585142260f89d47cbe1e592cec9e1f778f (diff)
Moved dirs and added codec-json dir
Diffstat (limited to 'src/io/.nix')
-rw-r--r--src/io/.nix/derivation.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/io/.nix/derivation.nix b/src/io/.nix/derivation.nix
new file mode 100644
index 0000000..0d213d3
--- /dev/null
+++ b/src/io/.nix/derivation.nix
@@ -0,0 +1,32 @@
+{ lib
+, stdenvNoCC
+, scons
+, clang
+, clang-tools
+, version
+, forstio
+}:
+
+let
+
+in stdenvNoCC.mkDerivation {
+ pname = "forstio-io";
+ inherit version;
+
+ src = ./..;
+
+ enableParallelBuilding = true;
+
+ nativeBuildInputs = [
+ scons
+ clang
+ clang-tools
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ ];
+
+ outputs = ["out" "dev"];
+}