Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix package? #77

Open
DADA30000 opened this issue Jun 10, 2024 · 1 comment
Open

Nix package? #77

DADA30000 opened this issue Jun 10, 2024 · 1 comment

Comments

@DADA30000
Copy link

It would be nice to have one, flake or just a package

@osbm
Copy link

osbm commented Dec 7, 2024

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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants