~evhan/beaker

e9a0d5009db14fc99fed4d89029c6932ac1a460f — Evan Hanson 1 year, 10 months ago 90581f0
Print error message when eggDerivation fails due to missing eggs
1 files changed, 4 insertions(+), 1 deletions(-)

M default.nix
M default.nix => default.nix +4 -1
@@ 78,12 78,15 @@ in rec {
    buildPhase = ''
      runHook preBuild

      if chicken-install -dry-run &>/dev/null
      if chicken-install -dry-run >/dev/null 2>error.log
      then
        chicken-install
      elif [ $? -eq 3 ]
      then
        chicken-install ${lib.escapeShellArgs cachedEggs}
      else
        cat error.log
        false
      fi

      runHook postBuild