From 29950fe57b92fc53a7682e58a352a2dce7d6321b Mon Sep 17 00:00:00 2001 From: Herman Fries Date: Sun, 27 May 2018 22:24:10 +0200 Subject: [PATCH] spring: Fix stdlib.h: No such file or directory include_next fatal error: stdlib.h: No such file or directory The fix is the same as here and works: https://github.com/NixOS/nixpkgs/pull/28748 It seams to have to do with header paths. --- pkgs/games/spring/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/games/spring/default.nix b/pkgs/games/spring/default.nix index 3bb69359f162..610998b34347 100644 --- a/pkgs/games/spring/default.nix +++ b/pkgs/games/spring/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, cmake, lzma, boost, libdevil, zlib, p7zip , openal, libvorbis, glew, freetype, xorg, SDL2, libGLU_combined, binutils , asciidoc, libxslt, docbook_xsl, docbook_xsl_ns, curl, makeWrapper -, jdk ? null, python ? null, systemd, libunwind, glibc, which, minizip +, jdk ? null, python ? null, systemd, libunwind, which, minizip , withAI ? true # support for AI Interfaces and Skirmish AIs }: @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { buildInputs = [ cmake lzma boost libdevil zlib p7zip openal libvorbis freetype SDL2 xorg.libX11 xorg.libXcursor libGLU_combined glew asciidoc libxslt docbook_xsl curl makeWrapper - docbook_xsl_ns systemd libunwind glibc.dev glibc.static which minizip ] + docbook_xsl_ns systemd libunwind which minizip ] ++ stdenv.lib.optional withAI jdk ++ stdenv.lib.optional withAI python; @@ -50,6 +50,5 @@ stdenv.mkDerivation rec { license = licenses.gpl2; maintainers = [ maintainers.phreedom maintainers.qknight maintainers.domenkozar ]; platforms = platforms.linux; - broken = true; }; }