From 002afda81a9569e2dfa268efb87d1ebd2e2c9ada Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 28 Oct 2025 16:02:46 +0100 Subject: Cleaning up examples --- examples/cavity_2d/.nix/derivation.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 examples/cavity_2d/.nix/derivation.nix (limited to 'examples/cavity_2d/.nix') diff --git a/examples/cavity_2d/.nix/derivation.nix b/examples/cavity_2d/.nix/derivation.nix new file mode 100644 index 0000000..cab8b8d --- /dev/null +++ b/examples/cavity_2d/.nix/derivation.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, pname +, version +, kel-lbm +}: + +stdenv.mkDerivation { + pname = pname + "-examples-" + "cavity_2d"; + inherit version; + src = ./..; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + forstio.codec-unit + forstio.codec-json + kel-lbm + ]; + + preferLocalBuild = true; + + outputs = [ "out" "dev" ]; +} -- cgit v1.2.3