Closed alexeymuranov closed 4 years ago
This is because it does some weird things involving redefining some gcc/glibc-internal stuff. I usually just use the community edition with this expression:
{ stdenv, lib, fetchFromGitHub, cmake, SDL2, SDL2_image, libGL, zlib, SDL2_mixer }:
stdenv.mkDerivation {
name = "sauerbraten-community-edition";
src = fetchFromGitHub {
owner = "lheckemann";
repo = "sdos-test";
rev = "cfa534e673a90ad826c6556c7e24a42d8ddfb226";
sha256 = "17mvfbc094h1m576dgs0bj48chf40rdsp5ziyvd5djs6j3qkzpny";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 SDL2_image libGL zlib SDL2_mixer ];
enableParallelBuilding = true;
SDL2_MIXER_HOME = "${SDL2_mixer}";
installPhase = ''
mkdir -p $out/bin
mv Sauerbraten $out/bin
'';
}
I should probably stick that in NUR or PR it to nixpkgs…
Issue description
I tried to reinstall
sauerbraten-r5000
on NixOS 18.03, but the installation failed with the following messages:Steps to reproduce
On NixOS 18.03:
Technical details
The output of
nix-shell -p nix-info --run "nix-info -m"
: