3 # cmake -GNinja -H. -B $dst && (cd $dst && cmake --build .)
4 # nix-shell . --run './all compile'
5 # nix-shell . --run 'LD_LIBRARY_PATH="$HOME/.nix-profile/lib:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" LD_PRELOAD=/run/opengl-driver/lib/libGL.so.1 ./all run'
6 with import <nixpkgs> {}; {
7 xonoticEnv = stdenv.mkDerivation {