summaryrefslogtreecommitdiff
path: root/examples/poiseulle_particles_channel_2d/.nix/derivation.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-10-01 13:29:47 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-10-01 13:29:47 +0200
commitac2bc7ccecc202a152caf900debbf79cae8745a6 (patch)
treecf2f4cefb488231c9d898a257af5c6e8d2a6a71a /examples/poiseulle_particles_channel_2d/.nix/derivation.nix
parentf53b62f995af1ad0e7cbc8aa3a7522d041eb9363 (diff)
downloadlibs-lbm-ac2bc7ccecc202a152caf900debbf79cae8745a6.tar.gz
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
Diffstat (limited to 'examples/poiseulle_particles_channel_2d/.nix/derivation.nix')
-rw-r--r--examples/poiseulle_particles_channel_2d/.nix/derivation.nix33
1 files changed, 33 insertions, 0 deletions
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" ];
+}