remove nix

This commit is contained in:
Benjamin Palko 2025-06-21 10:38:27 -04:00
parent 273a03b99b
commit 81f252dd96
4 changed files with 22 additions and 35 deletions

View file

@ -1,13 +1,14 @@
I'm messing around with GLFW to build an OpenGL app in wayland, theoretically this is the starting point for a game engine.
Me code, me make game engine!
### Setup
## Dependencies
```shell
meson setup build
```
Arch:
### Build
```shell
meson compile -C build
```
- `clang`
- `make`
- `meson`
- `ninja`
- `libgl`
- `glfw` _XDG_SESSION_TYPE=wayland_
- `fmt`
- `pkgconf`

3
mise.toml Normal file
View file

@ -0,0 +1,3 @@
[tools]
meson = "1.8.2"
ninja = "1.13.0"

8
package.json Normal file
View file

@ -0,0 +1,8 @@
{
"name": "game-engine",
"scripts": {
"setup": "meson setup build",
"build": "meson compile -C build",
"run": "./build/main"
}
}

View file

@ -1,25 +0,0 @@
{
pkgs ? import <nixpkgs> { },
}:
pkgs.llvmPackages.stdenv.mkDerivation {
name = "Development";
buildInputs = with pkgs.buildPackages; [
clang
fmt
fmt.dev
glfw-wayland
libGL
libGL.dev
];
# nativeBuildInputs is usually what you want -- tools you need to run
nativeBuildInputs = with pkgs.buildPackages; [
meson
ninja
gnumake
clang-tools
pkg-config
];
shellHook = '''';
}