summaryrefslogtreecommitdiff
path: root/forstio/core/.nix/derivation.nix
diff options
context:
space:
mode:
authorClaudius Holeksa <mail@keldu.de>2023-04-22 18:08:14 +0200
committerClaudius Holeksa <mail@keldu.de>2023-04-22 18:08:14 +0200
commit2c8e2829dcf7c299d8f4121571722618f5ca59b3 (patch)
treecbca64fb6b51327487f7320c83867f8689d366df /forstio/core/.nix/derivation.nix
parentc4033b8c2028efeb9bac236e6b279bdcd8efec34 (diff)
Initial setup for monorepo
Diffstat (limited to 'forstio/core/.nix/derivation.nix')
-rw-r--r--forstio/core/.nix/derivation.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/forstio/core/.nix/derivation.nix b/forstio/core/.nix/derivation.nix
new file mode 100644
index 0000000..a3b7ef1
--- /dev/null
+++ b/forstio/core/.nix/derivation.nix
@@ -0,0 +1,25 @@
+{ lib
+, stdenvNoCC
+, scons
+, clang
+, clang-tools
+}:
+
+let
+
+in stdenvNoCC.mkDerivation {
+ pname = "forstio-core";
+ version = "0.0.0";
+
+ src = ./..;
+
+ enableParallelBuilding = true;
+
+ nativeBuildInputs = [
+ scons
+ clang
+ clang-tools
+ ];
+
+ outputs = ["out" "dev"];
+}