diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-01 13:29:47 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-01 13:29:47 +0200 |
| commit | ac2bc7ccecc202a152caf900debbf79cae8745a6 (patch) | |
| tree | cf2f4cefb488231c9d898a257af5c6e8d2a6a71a /examples/poiseulle_particles_channel_2d/.nix | |
| parent | f53b62f995af1ad0e7cbc8aa3a7522d041eb9363 (diff) | |
| download | libs-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')
| -rw-r--r-- | examples/poiseulle_particles_channel_2d/.nix/derivation.nix | 33 |
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" ]; +} |
