summaryrefslogtreecommitdiff
path: root/examples/planetary_3d/.nix/derivation.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-10-26 13:46:27 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-10-26 13:46:27 +0100
commite31609040915755dc1572c9b478d3b5a49e11e27 (patch)
tree94d4ff3ea730c214dbaec820cd3d405cbb26b7b6 /examples/planetary_3d/.nix/derivation.nix
parent51d0394f250b2d7ce521a3c7136f018c428ddc92 (diff)
downloadlibs-lbm-e31609040915755dc1572c9b478d3b5a49e11e27.tar.gz
Adding dangling changes from slowly moving to SYCL USM 2020
And other random stuff
Diffstat (limited to 'examples/planetary_3d/.nix/derivation.nix')
-rw-r--r--examples/planetary_3d/.nix/derivation.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/examples/planetary_3d/.nix/derivation.nix b/examples/planetary_3d/.nix/derivation.nix
new file mode 100644
index 0000000..c6c3ea6
--- /dev/null
+++ b/examples/planetary_3d/.nix/derivation.nix
@@ -0,0 +1,39 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, pname
+, version
+, kel-lbm
+}:
+
+stdenv.mkDerivation {
+ pname = pname + "-examples-" + "planetary_3d";
+ inherit version;
+ src = ./..;
+
+ nativeBuildInputs = [
+ scons
+ clang-tools
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ forstio.io
+ forstio.io_codec
+ forstio.codec
+ forstio.codec-unit
+ forstio.codec-json
+ forstio.remote
+ forstio.remote-filesystem
+ forstio.remote-sycl
+ forstio.remote-io
+ kel-lbm
+ ];
+
+ preferLocalBuild = true;
+
+ outputs = [ "out" "dev" ];
+}