diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-28 16:02:46 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-28 16:02:46 +0100 |
| commit | 002afda81a9569e2dfa268efb87d1ebd2e2c9ada (patch) | |
| tree | 8abe74d3c95b4f7bfd87c9d311dd7bb5d2ea9568 /examples/poiseulle_3d/.nix | |
| parent | e31609040915755dc1572c9b478d3b5a49e11e27 (diff) | |
| download | libs-lbm-002afda81a9569e2dfa268efb87d1ebd2e2c9ada.tar.gz | |
Cleaning up examples
Diffstat (limited to 'examples/poiseulle_3d/.nix')
| -rw-r--r-- | examples/poiseulle_3d/.nix/derivation.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/poiseulle_3d/.nix/derivation.nix b/examples/poiseulle_3d/.nix/derivation.nix new file mode 100644 index 0000000..a98e736 --- /dev/null +++ b/examples/poiseulle_3d/.nix/derivation.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, pname +, version +, kel-lbm +}: + +stdenv.mkDerivation { + pname = pname + "-examples-" + "poiseulle_3d"; + 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" ]; +} |
