summaryrefslogtreecommitdiff
path: root/examples/throat_clog/.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-08-25 16:58:55 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-08-25 16:58:55 +0200
commit446546f6060670ae8413b68f7d168d0a48df7761 (patch)
tree87822808c41d8a2b27349190a140475dabba9846 /examples/throat_clog/.nix
parent7af165927a3ebbf70a84605cc3b1ad7fb886e940 (diff)
parent65b9b1e2ed6bfc2322d9d2f15d72f420ecf8903e (diff)
downloadlibs-lbm-446546f6060670ae8413b68f7d168d0a48df7761.tar.gz
Merge branch 'dev'
Diffstat (limited to 'examples/throat_clog/.nix')
-rw-r--r--examples/throat_clog/.nix/derivation.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/throat_clog/.nix/derivation.nix b/examples/throat_clog/.nix/derivation.nix
new file mode 100644
index 0000000..4dfce2a
--- /dev/null
+++ b/examples/throat_clog/.nix/derivation.nix
@@ -0,0 +1,42 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, python3
+, pname
+, version
+, adaptive-cpp
+, kel
+}:
+
+let
+in stdenv.mkDerivation {
+ pname = "${pname}-examples-throat_clog_2d_gpu";
+ 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" ];
+}