From ac2bc7ccecc202a152caf900debbf79cae8745a6 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 1 Oct 2025 13:29:47 +0200 Subject: Dangling commit with lots of changes Importantly it restructures the example I'm using the most and it fixes a index access issue in the collision --- .../.nix/derivation.nix | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 examples/poiseulle_particles_channel_2d/.nix/derivation.nix (limited to 'examples/poiseulle_particles_channel_2d/.nix/derivation.nix') diff --git a/examples/poiseulle_particles_channel_2d/.nix/derivation.nix b/examples/poiseulle_particles_channel_2d/.nix/derivation.nix new file mode 100644 index 0000000..58c45d5 --- /dev/null +++ b/examples/poiseulle_particles_channel_2d/.nix/derivation.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, pname +, version +, kel-lbm +}: + +stdenv.mkDerivation { + pname = pname + "-examples-" + "poiseulle_particles_channel_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