From 2c8e2829dcf7c299d8f4121571722618f5ca59b3 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Sat, 22 Apr 2023 18:08:14 +0200 Subject: Initial setup for monorepo --- forstio/core/.nix/derivation.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 forstio/core/.nix/derivation.nix (limited to 'forstio/core/.nix') 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"]; +} -- cgit v1.2.3