4 pkgs ? (import nixpkgs) {}
10 xonotic = stdenv.mkDerivation rec {
13 XON_NO_RADIANT = true;
16 QCC = "${gmqcc}/gmqcc";
20 name = "xonotic-${version}";
22 src = lib.sourceFilesBySuffices ./. [
30 enableParallelBuilding = true;
39 # unzip # for downloading maps
43 openssl # for d0_blind_id
62 export LD_LIBRARY_PATH=''${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${lib.makeLibraryPath runtimeInputs}
68 exe=darkplaces/darkplaces
69 rpath=$(patchelf --print-rpath $exe)
70 rpath_firstparty=$out/d0_blind_id
71 rpath_thirdparty=${lib.makeLibraryPath runtimeInputs}
72 rpath=''${rpath:+$rpath:}$rpath_firstparty:$rpath_thirdparty
73 patchelf --set-rpath $rpath $exe
81 gmqcc = stdenv.mkDerivation rec {
82 version = "xonotic-${VERSION}";
84 name = "gmqcc-${version}";
88 enableParallelBuilding = true;