From 49cd4c7f007df26733f8c609c234a37be8214163 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Tue, 23 May 2023 18:04:40 +0200 Subject: nix: Adding nix support --- .nix/derivation.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .nix/derivation.nix (limited to '.nix') diff --git a/.nix/derivation.nix b/.nix/derivation.nix new file mode 100644 index 0000000..cf887cd --- /dev/null +++ b/.nix/derivation.nix @@ -0,0 +1,26 @@ +{ lib +, stdenvNoCC +, scons +, clang +, forstio +}: + +stdenvNoCC.mkDerivation { + pname = "kel-unit"; + version = "0.0.0"; + src = ./..; + + nativeBuildInputs = [ + scons + clang + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.codec + ]; + + outputs = [ "out" ]; +} -- cgit v1.2.3