fixing indentation

This commit is contained in:
Peter Feigl 2015-04-13 13:46:42 +02:00
parent 44ea83b986
commit 69b18fc4b6

View File

@ -16,7 +16,8 @@ let
''; '';
moodleConfig = pkgs.writeText "config.php" moodleConfig = pkgs.writeText "config.php"
''<?php ''
<?php
unset($CFG); unset($CFG);
global $CFG; global $CFG;
$CFG = new stdClass(); $CFG = new stdClass();
@ -43,7 +44,6 @@ $CFG->noemailever = true;
${config.extraConfig} ${config.extraConfig}
require_once(dirname(__FILE__) . '/lib/setup.php'); // Do not edit require_once(dirname(__FILE__) . '/lib/setup.php'); // Do not edit
''; '';
# Unpack Moodle and put the config file in its root directory. # Unpack Moodle and put the config file in its root directory.
moodleRoot = pkgs.stdenv.mkDerivation rec { moodleRoot = pkgs.stdenv.mkDerivation rec {
name= "moodle-2.8.5"; name= "moodle-2.8.5";