From f5159d60fe3a0dcbdc5613658d9ade274ab88ee1 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 6 Jan 2026 14:26:02 +0100 Subject: Particle example to show basic forcing etc --- examples/particles/.nix/derivation.nix | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 examples/particles/.nix/derivation.nix (limited to 'examples/particles/.nix/derivation.nix') diff --git a/examples/particles/.nix/derivation.nix b/examples/particles/.nix/derivation.nix new file mode 100644 index 0000000..227132f --- /dev/null +++ b/examples/particles/.nix/derivation.nix @@ -0,0 +1,37 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, python3 +, pname +, version +, kel-lbm +, adaptive-cpp +}: + +stdenv.mkDerivation { + pname = pname + "-examples-" + "particles"; + inherit version; + src = ./..; + + nativeBuildInputs = [ + scons + clang-tools + python3 + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + forstio.codec-unit + forstio.codec-json + kel-lbm.core + adaptive-cpp + ]; + + preferLocalBuild = true; + + outputs = [ "out" "dev" ]; +} -- cgit v1.2.3