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