diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-09-20 17:29:06 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-09-20 17:29:06 +0200 |
commit | 5bb7a961480b15440f9d590214c799b19da9aaba (patch) | |
tree | 6da25c0f30e7b7c2ad3905d6d553fc4db7193590 /default.nix | |
parent | 043268f76a60e4ece9d5485fdb806ad174afc9ad (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 'default.nix')
-rw-r--r-- | default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/default.nix b/default.nix index c2bb53f..acf40f7 100644 --- a/default.nix +++ b/default.nix @@ -3,6 +3,16 @@ , ... }: -pkgs.callPackage .nix/derivation.nix { - inherit stdenv; +let + pname = "lights_out"; + version = "0.0.0"; +in rec { + lights_out_wasm = pkgs.callPackage c++/.nix/derivation.nix { + inherit stdenv pname version; + }; + + html = pkgs.callPackage html/.nix/derivation.nix { + inherit lights_out_wasm pname version; + stdenv = pkgs.stdenvNoCC; + }; } |