anchor.diff:    buildInputs = [ SDL SDL_ttf SDL_image SDL_mixer pkgconfig lua zlib unzip ];
   
     configurePhase = ''
  -    sed -i -e "s,DATAPATH=.,DATAPATH=$out/share/${name}/," Rules.make
  +    { echo 2; echo $out; } | ./configure.sh
     '';
   
     inherit games;
   
     installPhase = ''
  -    mkdir -p $out/bin $out/share/${name}
  -    cp sdl-instead $out/bin
  -    cp -R games languages stead themes $out/share/${name}
  -    pushd $out/share/${name}/games
  +    make install
  +
  +    pushd $out/share/instead/games
       for a in $games; do
         unzip $a
       done
  
positive.code: { stdenv, fetchurl, SDL, SDL_ttf, SDL_image, SDL_mixer, pkgconfig, lua, zlib, unzip }:
  
  let
    version = "1.2.2";
  
    # I took two games at random from http://instead.syscall.ru/games/
    games = [
      (fetchurl {
        url = http://instead-games.googlecode.com/files/instead-apple-day-1.2.zip;
        sha256 = "0d4m554hiqmgl4xl0jp0b3bqjl35879768hqznh9y57y04sygd2a";
      })
      (fetchurl {
        url = http://instead-games.googlecode.com/files/instead-cat-1.3.zip;
        sha256 = "0vmsn7jg2vy5kqqbzad289vk4j3piarj1xpwyz72wgyc3k7djg4v";
      })
      (fetchurl {
        url = http://instead-games.googlecode.com/files/instead-cat_en-1.2.zip;
  
negative.code:   name = "instead-" + version;
  
    src = fetchurl {
      url = "http://downloads.sourceforge.net/project/instead/instead/${version}/instead_${version}.tar.gz";
      sha256 = "f5577c5118b5f4a2897c7bb26f3ad7993005dbf0ae8fe762b4434e1151ddb430";
    };
  
    NIX_LDFLAGS = "-llua -lgcc_s";
  