From bf5c3bb6716e145ff26c748a119299bd4d639d29 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Mon, 25 Jul 2011 11:43:27 +0000 Subject: [PATCH] - libgcc_s seems to be needed after all - eduke32 uses UNIX style options nowadays svn path=/nixpkgs/trunk/; revision=27937 --- pkgs/games/eduke32/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/eduke32/default.nix b/pkgs/games/eduke32/default.nix index 9b41b110ad7b..b99f8b09b9de 100644 --- a/pkgs/games/eduke32/default.nix +++ b/pkgs/games/eduke32/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional (stdenv.system == "i686-linux") nasm; NIX_CFLAGS_COMPILE = "-I${SDL}/include/SDL"; - NIX_LDFLAGS = "-L${SDL}/lib"; + NIX_LDFLAGS = "-L${SDL}/lib -lgcc_s"; desktopItem = makeDesktopItem { name = "eduke32"; @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { fi cd \$EDUKE32_DATA_DIR - eduke32 /g\$EDUKE32_GRP_FILE + eduke32 -g \$EDUKE32_GRP_FILE EOF chmod 755 $out/bin/eduke32-wrapper