Nix package?
Opened this issue · 1 comments
DADA30000 commented
It would be nice to have one, flake or just a package
osbm commented
I am currently writing a flake on this repository
but currently i am having this error:
$ nix build github:osbm/hackmatrix-nix
error: builder for '/nix/store/cgsj60d5mifjsfvw3wqh68vwcva1wixs-hackmatrix.drv' failed with exit code 2;
last 25 log lines:
> no configure script, doing nothing
> Running phase: buildPhase
> build flags: SHELL=/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin/bash
> grep: /etc/os-release: No such file or directory
> protoc --cpp_out=./ protos/api.proto
> protoc --python_out=client_libs/python/hackMatrix/ protos/api.proto
> mv protos/api.pb.cc src
> mv protos/api.pb.h include/protos
> g++ -std=c++20 -O3 -g -o build/systems/Player.o -c src/systems/Player.cpp -Iinclude -I/usr/local/include -Iinclude/imgui -Itracy/public
> g++ -std=c++20 -O3 -g -o build/MultiPlayer/Server.o -c src/MultiPlayer/Server.cpp -Iinclude -I/usr/local/include -Iinclude/imgui -Itracy/public
> g++ -std=c++20 -O3 -g -o build/MultiPlayer/Client.o -c src/MultiPlayer/Client.cpp -Iinclude -I/usr/local/include -Iinclude/imgui -Itracy/public
> g++ -std=c++20 -O3 -g -o build/MultiPlayer/Gui.o -c src/MultiPlayer/Gui.cpp -Iinclude -I/usr/local/include -Iinclude/imgui -Itracy/public
> In file included from /nix/store/pnqw6igiqaalvl099z81z96r62zhn5hx-spdlog-1.14.1-dev/include/spdlog/common.h:50,
> from /nix/store/pnqw6igiqaalvl099z81z96r62zhn5hx-spdlog-1.14.1-dev/include/spdlog/sinks/base_sink.h:12,
> from include/logger.h:3,
> from include/blocks.h:2,
> from include/world.h:5,
> from include/api.h:11,
> from include/engine.h:1,
> from src/MultiPlayer/Gui.cpp:1:
> /nix/store/pnqw6igiqaalvl099z81z96r62zhn5hx-spdlog-1.14.1-dev/include/spdlog/fmt/fmt.h:24:14: fatal error: spdlog/fmt/bundled/core.h: No such file or directory
> 24 | #include <spdlog/fmt/bundled/core.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make: *** [makefile:194: build/MultiPlayer/Gui.o] Error 1
For full logs, run 'nix log /nix/store/cgsj60d5mifjsfvw3wqh68vwcva1wixs-hackmatrix.drv'.