diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-19 16:36:14 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-19 16:36:14 +0200 |
| commit | 5dade743e7c1e6b0b6001b4265bf792f0b05f93a (patch) | |
| tree | 36bdc75fd46251913f3a6eadd8e737144e24e7e4 /examples/dkt/.nix/derivation.nix | |
| parent | eaa598784db491d37bdb1b9ff87d6e6bc9979476 (diff) | |
| download | libs-lbm-5dade743e7c1e6b0b6001b4265bf792f0b05f93a.tar.gz | |
Dangling
Diffstat (limited to 'examples/dkt/.nix/derivation.nix')
| -rw-r--r-- | examples/dkt/.nix/derivation.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/dkt/.nix/derivation.nix b/examples/dkt/.nix/derivation.nix new file mode 100644 index 0000000..3a640d8 --- /dev/null +++ b/examples/dkt/.nix/derivation.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, python3 +, pname +, version +, adaptive-cpp +, kel +, particle_coupling ? "fplbm" +}: + +let +in stdenv.mkDerivation { + pname = "${pname}-examples-dkt_2d_gpu_${particle_coupling}"; + inherit version; + src = ./..; + + nativeBuildInputs = [ + scons + clang-tools + python3 + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + forstio.codec-unit + forstio.io + forstio.remote + forstio.remote-filesystem + forstio.codec-json + adaptive-cpp + kel.lbm.core + kel.lbm.sycl + ]; + + preferLocalBuild = true; + + outputs = [ "out" "dev" ]; +} |
