diff options
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" ]; +} |
