From ab7069eec4b0b175781442592aacd15812049dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 3 Jan 2014 00:54:13 +0100 Subject: [PATCH] zsnes seems to work better, without stripping. I can't understand why. Without disabling stripping, it segfaults saving state. --- pkgs/misc/emulators/zsnes/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/emulators/zsnes/default.nix b/pkgs/misc/emulators/zsnes/default.nix index 0b34fc0f9fec..eaab4276c1a3 100644 --- a/pkgs/misc/emulators/zsnes/default.nix +++ b/pkgs/misc/emulators/zsnes/default.nix @@ -9,9 +9,11 @@ stdenv.mkDerivation { }; buildInputs = [ nasm SDL zlib libpng ncurses mesa ]; - + preConfigure = '' cd src + + sed -i "/^STRIP/d" configure # Fix for undefined strncasecmp() echo '#include ' > tmp.cpp @@ -35,4 +37,4 @@ stdenv.mkDerivation { maintainers = [ stdenv.lib.maintainers.sander ]; homepage = http://www.zsnes.com; }; -} \ No newline at end of file +}