summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-09-20 17:29:06 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-09-20 17:29:06 +0200
commit5bb7a961480b15440f9d590214c799b19da9aaba (patch)
tree6da25c0f30e7b7c2ad3905d6d553fc4db7193590 /html
parent043268f76a60e4ece9d5485fdb806ad174afc9ad (diff)
Reworking structure. Adding proper C exports. Fix neededmain
emcc is annoying me with its caching. Tries to write into /nix/store locations, which is shouldn't do. Need the proper env variable to rewrite. Otherwise it'll be ignored.
Diffstat (limited to 'html')
-rw-r--r--html/.nix/derivation.nix16
-rw-r--r--html/lights_out.html1
2 files changed, 17 insertions, 0 deletions
diff --git a/html/.nix/derivation.nix b/html/.nix/derivation.nix
new file mode 100644
index 0000000..607c595
--- /dev/null
+++ b/html/.nix/derivation.nix
@@ -0,0 +1,16 @@
+{ stdenv
+, lights_out_wasm
+, pname
+, version
+}:
+
+stdenv.mkDerivation {
+ inherit pname version;
+
+ src = ./..;
+
+ installPhase = ''
+ mkdir $out
+ touch $out/side
+ '';
+}
diff --git a/html/lights_out.html b/html/lights_out.html
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/html/lights_out.html
@@ -0,0 +1 @@
+