anchor.diff: -{ stdenv, lib, fetchFromGitHub, writeText, makeWrapper, php }:
  +{ stdenv, fetchFromGitHub, writeText }:
   
   stdenv.mkDerivation rec {
     pname = "limesurvey";
  
positive.code:   '';
  
    installPhase = ''
      mkdir -p $out/{bin,share/limesurvey}
      cp -R . $out/share/limesurvey
      cp ${phpConfig} $out/share/limesurvey/application/config/config.php
      makeWrapper ${php}/bin/php $out/bin/limesurvey-console \
        --add-flags "$out/share/limesurvey/application/commands/console.php"
    '';
  
    meta = with lib; {
      description = "Open source survey application";
      license = licenses.gpl2;
      homepage = https://www.limesurvey.org;
      maintainers = with maintainers; [offline];
      platforms = with platforms; unix;
    };
  
negative.code:     sha256 = "0d6dgw9af492vn5yg2hq82ipq4p80c19lhky0dpwrm5kv67kxbhv";
    };
  
    phpConfig = writeText "config.php" ''
    <?php
      return require(getenv('LIMESURVEY_CONFIG'));
  