From 6379fe9ca2cad3d0c9d886e7808b1d579ce349c2 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 29 Aug 2025 22:17:14 +0200 Subject: Not even sure why I have this --- modules/codec-sql/.nix/derivation.nix | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/codec-sql/.nix/derivation.nix (limited to 'modules/codec-sql/.nix/derivation.nix') diff --git a/modules/codec-sql/.nix/derivation.nix b/modules/codec-sql/.nix/derivation.nix new file mode 100644 index 0000000..6bd3fdb --- /dev/null +++ b/modules/codec-sql/.nix/derivation.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-codec-sql"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + ]; + + doCheck = true; + checkPhase = '' + scons test + ./bin/tests + ''; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3