draw multiple sets of points, debug features

This commit is contained in:
mtgmonkey
2025-12-21 12:20:08 +01:00
parent a13a8610dc
commit 8cabc29195
5 changed files with 103 additions and 48 deletions

View File

@@ -7,41 +7,11 @@
self,
...
}: let
versionString = "0.3.0";
package = {
mkDerivation,
base,
bytestring,
GLFW-b,
lens,
lib,
linear,
OpenGL,
}:
mkDerivation {
pname = "hs-game";
version = versionString;
src = ./.;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base
bytestring
GLFW-b
lens
linear
OpenGL
];
homepage = "https://git.mtgmonkey.net/Andromeda/hs-game";
license = lib.licenses.bsd3;
mainProgram = "hs-game";
};
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
default =
pkgs.haskellPackages.callPackage package {};
default = pkgs.haskellPackages.callCabal2nix "hs-game" ./. {};
};
devShells.${system} = {
default = pkgs.mkShell {