From 7f0440cc25fc3ebc711df9fb708a5bffe53bf784 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Mon, 22 May 2023 00:37:33 +0200 Subject: c++: Initial setup for regular window creation --- src/window/.nix/derivation.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/window/.nix/derivation.nix (limited to 'src/window/.nix') diff --git a/src/window/.nix/derivation.nix b/src/window/.nix/derivation.nix new file mode 100644 index 0000000..cfa5894 --- /dev/null +++ b/src/window/.nix/derivation.nix @@ -0,0 +1,32 @@ +{ lib +, stdenvNoCC +, scons +, clang +, clang-tools +, version +, forstio +}: + +let + +in stdenvNoCC.mkDerivation { + pname = "forstio-window"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + ]; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3