maxow / runeslayer Goto Github PK
View Code? Open in Web Editor NEWRPG languages learning tool
RPG languages learning tool
The game implicitly assumes a QWERTY layout.
It would be cool if the last step of the build (cabal build
) is already done, so you can just do nix-build
and it will build everything, including the executable.
Not an issue necessarily, but I thought I'd document in case someone else runs into this.
$ git clone [email protected]:MaxOw/RuneSlayer.git
$ cd RuneSlayer
$ nix-build
building '/nix/store/73pz9vnkfx1caamf3s5wyvy16awvdyyx-cabal2nixResult.drv'...
error: creating directory '/nix/var': Permission denied
error: creating directory '/nix/var': Permission denied
Initialized empty Git repository in /build/git-checkout-tmp-gxpYcTAW/vm0524mzxx6cwfc2zvgds2vcg6khv0n6-Carnot/.git/
fatal: '/nix/store/vm0524mzxx6cwfc2zvgds2vcg6khv0n6-Carnot' does not appear to be a git repository
fatal: Could not read from remote repository.
[...]
The mistake here is not doing git clone --recursive
. If you add --recursive
, then this step works. See NixOS/nixpkgs#45775. (Thanks @srhb!)
I tried building on my other machine today, and unfortunately I got this error:
$ dist/build/RuneSlayer/RuneSlayer
RuneSlayer version 0.1.0 Copyright (C) 2018-2019 Maksymilian Owsianny
Timestamp : 2019-11-14 19:23:55 +0000
Revision : f579f46f22cb0b646e903a444e0ed175824ce904
Exe hash : add8c1b8c292290998c3d739362ba428b97dbfd6
3.2.1 X11 GLX EGL clock_gettime /dev/js Xf86vm
RuneSlayer: Window creation failed
CallStack (from HasCallStack):
error, called at src/Relude/Debug.hs:91:11 in relude-0.4.0-37Q1PylyLVNLu7s5THX52D:Relude.Debug
error, called at src/Engine/Context.hs:48:17 in Carnot-0.1.26.5-HCh9XzTz5XCESjoQ9x41La:Engine.Context
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.