buildBazelPackage: don't fail if the marker file doesn't exist

This was the intent of my previous change, but it didn't quite work
because the pipeline still exits false even if the file doesn't exist.
Oops.
master
Luke Granger-Brown 2021-06-06 21:18:56 +00:00
parent b45f157f03
commit bc260c31f1
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ in stdenv.mkDerivation (fBuildAttrs // {
find $bazelOut/external -maxdepth 1 -type l | while read symlink; do
name="$(basename "$symlink")"
rm "$symlink"
test -f "$bazelOut/external/@$name.marker" && rm "$bazelOut/external/@$name.marker"
test -f "$bazelOut/external/@$name.marker" && rm "$bazelOut/external/@$name.marker" || true
done
# Patching symlinks to remove build directory reference