diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 978b926..d495d54 100755 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,14 @@ +## main 06/07/2024 +- reordered packages to fix dependencies +- respect nix-way to have libraries in flakes +- updated haxe and other packages +- added a tool to find the latest versions of packages + +## dev 10/11/2023 +- `mkHeapsGame` now require your own `compile.hxml` +- WIP formatter, needs the actual program, not the library +- you can generate docs derivation for Haxe derivations + ## main - build and run Heaps games on linux - build wih latest Haxe, Heaps, etc. @@ -6,8 +17,4 @@ - package haxelibs - Check flake with github action for PRs - mkHeapsGame support buildInputs -- Added a simple default haxe shell -## dev 10/11/2023 -- `mkHeapsGame` now require your own `compile.hxml` -- WIP formatter, needs the actual program, not the library -- you can generate docs derivation for Haxe derivations \ No newline at end of file +- Added a simple default haxe shell \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index f5d5702..aa92d98 100755 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ # Haxix -A flake to build and run games made with [heaps.io](https://heaps.io/) and possibly other haxe game engines in the future. +A flake to build and run games made with [heaps.io](https://heaps.io/) and possibly other haxe game engines (raylib, armory, ...) in the future. ## Usage diff --git a/docs/TODO.md b/docs/TODO.md index 3cf2a73..faf46fc 100755 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -1,8 +1,7 @@ # TODO : -- [ ] haxefmt formatter - [ ] Github Action - [ ] Build Cachix cache -- [ ] Clean, remove `_latest` from package names - [ ] Other Haxe game engines - [ ] Godot-Haxe - - [ ] OpenFL \ No newline at end of file + - [ ] OpenFL + - [ ] Raylib \ No newline at end of file diff --git a/flake.nix b/flake.nix index 0afeb84..bc355f3 100755 --- a/flake.nix +++ b/flake.nix @@ -70,10 +70,10 @@ packages = pkgs.callPackage ./pkgs { inherit inputs; }; demos = pkgs.callPackage ./demo ({ inherit inputs; } // packages); in { - legacyPackages."${system}" = packages // demos; + legacyPackages."${system}" = packages; devShell."${system}" = pkgs.callPackage ./pkgs/shell.nix packages; - # checks."${system}" = demos; - # TODO : checks and dev shell + # TODO : + #checks."${system}" = demos; }; in { # template for heaps projects : diff --git a/template/flake.nix b/template/flake.nix index 3c0a9bb..9b5fbad 100755 --- a/template/flake.nix +++ b/template/flake.nix @@ -18,9 +18,9 @@ # default system-agnostic flake implementation : flake = system: let - haxix-lib = haxix.lib."${system}"; + haxePkgs = haxix.legacyPackages."${system}"; # heaps game example : - my-project = haxix-lib.mkHeapsGame { + my-project = haxePkgs.heaps.buildHeapsGame { src = self; name = "my-project"; version = "0.0.1-alpha";