Skip to content

Commit

Permalink
Look for do. still
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Apr 4, 2024
1 parent a8c80df commit cd2a423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/comp-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ let
# we assume that if the SETUP_HS command fails and the following line was found in the error
# log, that it was the only error. Hence if we do _not_ find the line, grep will fail and this derivation
# will be marked as failure.
cat $SETUP_ERR | grep 'No executables and no library found\. Nothing to'
cat $SETUP_ERR | tr '\n' ' ' | tr -d '\r' | grep 'No executables and no library found\. Nothing to do\.'
fi
''}
${lib.optionalString (haskellLib.isLibrary componentId) ''
Expand Down

0 comments on commit cd2a423

Please sign in to comment.